[infinispan-issues] [JBoss JIRA] (ISPN-2650) Some Map Reduce tests are failing for Topology Aware nodes.

Anna Manukyan (JIRA) jira-events at lists.jboss.org
Thu Dec 20 08:40:08 EST 2012


    [ https://issues.jboss.org/browse/ISPN-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742669#comment-12742669 ] 

Anna Manukyan commented on ISPN-2650:
-------------------------------------

Ok, understood.

And what about TopologyAwareTwoNodesMapReduceTest? Have you see the exception for testInvokeMapperCancellation() test, when running the test with all dist exec tests?

testInvokeMapperCancellation(org.infinispan.distexec.mapreduce.TopologyAwareMapReduceTest)  Time elapsed: 45.022 sec  <<< FAILURE!
org.testng.TestException: 
Expected exception java.util.concurrent.CancellationException but got java.lang.AssertionError: Mapper not cancelled, root cause org.jgroups.TimeoutException: timeout sending message to TopologyAwareMapReduceTest-NodeB-37845(test2)
	at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1503)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:764)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
	at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.AssertionError: Mapper not cancelled, root cause org.jgroups.TimeoutException: timeout sending message to TopologyAwareMapReduceTest-NodeB-37845(test2)
	at org.infinispan.distexec.mapreduce.SimpleTwoNodesMapReduceTest.testInvokeMapperCancellation(SimpleTwoNodesMapReduceTest.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
	... 15 more

                
> Some Map Reduce tests are failing for Topology Aware nodes.
> -----------------------------------------------------------
>
>                 Key: ISPN-2650
>                 URL: https://issues.jboss.org/browse/ISPN-2650
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Execution and Map/Reduce
>    Affects Versions: 5.2.0.Beta5
>            Reporter: Anna Manukyan
>            Assignee: Vladimir Blagojevic
>
> There are two test classes written for testing Map Reduce on TopologyAware nodes:
> https://github.com/andyuk1986/infinispan/blob/DISTEXEC/core/src/test/java/org/infinispan/distexec/mapreduce/BookSearchOnTopologyAwareNodesTest.java
> https://github.com/andyuk1986/infinispan/blob/DISTEXEC/core/src/test/java/org/infinispan/distexec/mapreduce/TopologyAwareTwoNodesMapReduceTest.java
> But both of them are failing.
> The first one fails due to that the data is not replicated to other node (see https://issues.jboss.org/browse/ISPN-2629?focusedCommentId=12741469&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12741469).
> The second test fails due to not cancelled map reduce tasks (see https://issues.jboss.org/browse/ISPN-2629?focusedCommentId=12741470&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12741470) . This one is really strange, as it fails only when I run it with the bunch of distexec tests, otherwise when separately run - it succeeds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list