[ 
https://issues.apache.org/jira/browse/IGNITE-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041529#comment-15041529
 ] 

Ilya Lantukh commented on IGNITE-1692:
--------------------------------------

Done.

Changed Ignition.start() order so that servers will start before clients and 
added GridCommonAbstractTest::awaitPartitionMapExchange() call after 
initialization.

> [Test] DataStreamProcessorSelfTest.testReplicated fails sometimes.
> ------------------------------------------------------------------
>
>                 Key: IGNITE-1692
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1692
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Veselovsky
>            Assignee: Ilya Lantukh
>
> DataStreamProcessorSelfTest.testReplicated fails with ~7% probability with 
> the following error:
> {code}
> org.apache.ignite.IgniteCheckedException: Failed to find server node for 
> cache (all affinity nodes have left the grid or cache was stopped): null
>     at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:6979)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:166)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:115)
>     at 
> org.apache.ignite.internal.util.future.GridCompoundFuture$Listener.apply(GridCompoundFuture.java:311)
>     at 
> org.apache.ignite.internal.util.future.GridCompoundFuture$Listener.apply(GridCompoundFuture.java:302)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:262)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListeners(GridFutureAdapter.java:250)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:380)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:346)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:334)
>     at 
> org.apache.ignite.testframework.GridTestUtils$5.run(GridTestUtils.java:675)
>     at 
> org.apache.ignite.testframework.GridTestUtils$7.call(GridTestUtils.java:966)
>     at 
> org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> Caused by: org.apache.ignite.cache.CacheServerNotFoundException: Failed to 
> find server node for cache (all affinity nodes have left the grid or cache 
> was stopped): null
>     at 
> org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1604)
>     at 
> org.apache.ignite.internal.processors.cache.IgniteCacheFutureImpl.convertException(IgniteCacheFutureImpl.java:56)
>     at 
> org.apache.ignite.internal.util.future.IgniteFutureImpl.get(IgniteFutureImpl.java:122)
>     at 
> org.apache.ignite.internal.processors.datastreamer.DataStreamProcessorSelfTest$1.call(DataStreamProcessorSelfTest.java:232)
>     at 
> org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> Caused by: 
> org.apache.ignite.internal.cluster.ClusterTopologyServerNotFoundException: 
> Failed to find server node for cache (all affinity nodes have left the grid 
> or cache was stopped): null
>     at 
> org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl.nodes(DataStreamerImpl.java:772)
>     at 
> org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl.load0(DataStreamerImpl.java:638)
>     at 
> org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl.addDataInternal(DataStreamerImpl.java:547)
>     at 
> org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl.addData(DataStreamerImpl.java:583)
>     at 
> org.apache.ignite.internal.processors.datastreamer.DataStreamProcessorSelfTest$1.call(DataStreamProcessorSelfTest.java:226)
>     at 
> org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> {code}



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

Reply via email to