[jira] [Created] (IGNITE-886) Failure in query execution when remote node crashes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-886) Failure in query execution when remote node crashes

Alexey Goncharuk (Jira)
Dmitriy Setrakyan created IGNITE-886:
----------------------------------------

             Summary: Failure in query execution when remote node crashes
                 Key: IGNITE-886
                 URL: https://issues.apache.org/jira/browse/IGNITE-886
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Dmitriy Setrakyan
            Assignee: Sergi Vladykin
            Priority: Blocker
             Fix For: sprint-4


I reproduced this example when crashing one of the {{ExampleNodeStartup}} instances while running the {{streaming.wordcount}} example as described in IGNITE-885.
{code}
[08:32:52] Topology snapshot [ver=8, nodes=2, CPUs=4, heap=6.6GB]
[08:32:52] Ignite node stopped OK [uptime=00:01:51:57]
Exception in thread "main" javax.cache.CacheException: Failed to run map query remotely.
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:343)
        at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:775)
        at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:866)
        at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:561)
        at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:513)
        at org.apache.ignite.examples.streaming.wordcount.QueryWords.main(QueryWords.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: javax.cache.CacheException: Failed to execute map query on the node: 94103e9c-a2a5-4607-b468-99293b8db782, Node left the topology.
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:204)
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.access$300(GridReduceQueryExecutor.java:61)
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$2.onEvent(GridReduceQueryExecutor.java:147)
        at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:739)
        at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:724)
        at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.record(GridEventStorageManager.java:272)
        at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.recordEvent(GridDiscoveryManager.java:1597)
        at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body0(GridDiscoveryManager.java:1787)
        at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body(GridDiscoveryManager.java:1636)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108)
        at java.lang.Thread.run(Thread.java:745)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)