[
https://issues.jboss.org/browse/ISPN-2470?page=com.atlassian.jira.plugin....
]
Vladimir Blagojevic updated ISPN-2470:
--------------------------------------
Git Pull Request:
https://github.com/infinispan/infinispan/pull/1451
Actually we can deal with this in DistributedExecutorService. See pull request for
details
Runnable execution with DistributedExecutor fails for REPL_SYNC mode
---------------------------------------------------------------------
Key: ISPN-2470
URL:
https://issues.jboss.org/browse/ISPN-2470
Project: Infinispan
Issue Type: Bug
Components: Distributed Execution and Map/Reduce
Reporter: Anna Manukyan
Assignee: Vladimir Blagojevic
Hi,
after the update from infinispan master, the
org.infinispan.distexec.ReplSyncDistributedExecutorTest.testRunnableInvocation() fails
periodically.
The failure message is:
testRunnableInvocation
"java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException:
Failover execution failed at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:872)
at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.get(DefaultExecutorService.java:839)
at
org.infinispan.distexec.DistributedExecutorTest.testRunnableInvocation(DistributedExecutorTest.java:126)
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.util.concurrent.ExecutionException:
Failover execution failed at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.failoverExecution(DefaultExecutorService.java:896)
at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:870)
... 23 more Caused by: java.lang.Exception: Failover execution failed ... 25 more Caused
by: java.util.concurrent.ExecutionException: Failover execution failed at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.failoverExecution(DefaultExecutorService.java:893)
... 24 more Caused by: java.lang.Exception: Failover execution failed ... 25 more Caused
by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid
response {ReplSyncDistributedExecutorTest-NodeB-37961=null} at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.retrieveResult(DefaultExecutorService.java:946)
at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:864)
... 23 more Caused by: java.lang.IllegalStateException: Invalid response
{ReplSyncDistributedExecutorTest-NodeB-37961=null} ... 25 more ... Removed 16 stack
frames
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException:
Failover execution failed at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:872)
at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.get(DefaultExecutorService.java:839)
at
org.infinispan.distexec.DistributedExecutorTest.testRunnableInvocation(DistributedExecutorTest.java:126)
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) 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.util.concurrent.ExecutionException:
Failover execution failed at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.failoverExecution(DefaultExecutorService.java:896)
at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:870)
... 23 more Caused by: java.lang.Exception: Failover execution failed ... 25 more Caused
by: java.util.concurrent.ExecutionException: Failover execution failed at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.failoverExecution(DefaultExecutorService.java:893)
... 24 more Caused by: java.lang.Exception: Failover execution failed ... 25 more Caused
by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid
response {ReplSyncDistributedExecutorTest-NodeB-37961=null} at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.retrieveResult(DefaultExecutorService.java:946)
at
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:864)
... 23 more Caused by: java.lang.IllegalStateException: Invalid response
{ReplSyncDistributedExecutorTest-NodeB-37961=null} ... 25 more "
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.innerGet(DefaultExecutorService.java:872)
org.infinispan.distexec.DefaultExecutorService$DistributedTaskPart.get(DefaultExecutorService.java:839)
org.infinispan.distexec.DistributedExecutorTest.testRunnableInvocation(DistributedExecutorTest.java:126)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
org.testng.TestRunner.privateRun(TestRunner.java:767)
org.testng.TestRunner.run(TestRunner.java:617)
org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
java.util.concurrent.FutureTask.run(FutureTask.java:166)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
Best regards,
Anna.
--
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