[JBoss JIRA] (ISPN-6650) org.infinispan.server.hotrod.HotRodSingleClusteredTest.clearContent fails on Windows
by Anna Manukyan (JIRA)
Anna Manukyan created ISPN-6650:
-----------------------------------
Summary: org.infinispan.server.hotrod.HotRodSingleClusteredTest.clearContent fails on Windows
Key: ISPN-6650
URL: https://issues.jboss.org/browse/ISPN-6650
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Reporter: Anna Manukyan
The {{org.infinispan.server.hotrod.HotRodSingleClusteredTest.clearContent}} tests are failing on Windows with the following exception:
{code}
java.lang.IllegalStateException: No caches registered! Use registerCacheManager(Cache... caches) to do that!
at org.infinispan.test.MultipleCacheManagersTest.clearContent(MultipleCacheManagersTest.java:98)
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:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:786)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
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:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6649) org.infinispan.server.hotrod.HotRodSingleClusteredNonLoopbackTest.createBeforeClass fail on Windows
by Anna Manukyan (JIRA)
Anna Manukyan created ISPN-6649:
-----------------------------------
Summary: org.infinispan.server.hotrod.HotRodSingleClusteredNonLoopbackTest.createBeforeClass fail on Windows
Key: ISPN-6649
URL: https://issues.jboss.org/browse/ISPN-6649
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Reporter: Anna Manukyan
The {{ org.infinispan.server.hotrod.HotRodSingleClusteredNonLoopbackTest.createBeforeClass}} fails on withdows with the following exception:
{code}
java.util.NoSuchElementException
at java.net.NetworkInterface$1checkedAddresses.nextElement(NetworkInterface.java:144)
at java.net.NetworkInterface$1checkedAddresses.nextElement(NetworkInterface.java:112)
at org.infinispan.server.hotrod.HotRodSingleClusteredNonLoopbackTest.createBeforeClass(HotRodSingleClusteredNonLoopbackTest.scala:42)
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:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6648) Distributed stream sort and distinct can be more efficient if followed by limit
by William Burns (JIRA)
William Burns created ISPN-6648:
-----------------------------------
Summary: Distributed stream sort and distinct can be more efficient if followed by limit
Key: ISPN-6648
URL: https://issues.jboss.org/browse/ISPN-6648
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Execution and Map/Reduce
Reporter: William Burns
Fix For: 9.0.0.Final
If a sort or distinct is followed by a limit we can do these all on the remote node limiting results returned.
This can be done for all terminal operations except iterator. Iterator can only do this if the limit is less than the batch size. Otherwise full support in ISPN-4358 is required.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6647) DecoratedCache.putForExternalRead method with Metadata ignores Metadata
by Karl von Randow (JIRA)
Karl von Randow created ISPN-6647:
-------------------------------------
Summary: DecoratedCache.putForExternalRead method with Metadata ignores Metadata
Key: ISPN-6647
URL: https://issues.jboss.org/browse/ISPN-6647
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 8.2.2.Final
Reporter: Karl von Randow
Priority: Minor
The implementation of the {{putForExternalRead}} method ignores the {{Metadata}} parameter, instead of passing it on to the {{putForExternalRead}} method in the cache implementation. This is no doubt because the cache implementation previously didn't support {{Metadata}} for {{putForExternalRead}}.
I will prepare a PR and attach it to this ticket shortly. It was a gargantuan effort to patch this up, as you'll see!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6630) NotSerializableException while executing streams via JavaScript in a cluster in DIST mode (without additional casting to Serializable)
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-6630?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-6630:
----------------------------------------
[~amanukyan] We already have a test for this in the same class, testDistributedMapReduceStreamLocalModeWithExecutors, but this is disable since you discovered ISPN-6173, that's why we didn't realise earlier. I'll combine this JIRA and ISPN-6173.
> NotSerializableException while executing streams via JavaScript in a cluster in DIST mode (without additional casting to Serializable)
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6630
> URL: https://issues.jboss.org/browse/ISPN-6630
> Project: Infinispan
> Issue Type: Bug
> Components: Tasks
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
>
> When running map/reduce task using distributed streams through Javascript in DIST/REPL mode, then the following exception is thrown:
> {code}
> 15:02:43,476 ERROR (remote-thread-ClusteredScriptingTest-NodeF-p38-t6) [RpcManagerImpl] ISPN000073: Unexpected error while replicating
> org.infinispan.commons.marshall.NotSerializableException: org.infinispan.scripting.impl.DataTypedCache
> Caused by: an exception which occurred:
> in field capturedArgs
> in object org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139@5a8a3b80
> -> toString = org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139@5a8a3b80
> in object java.util.ArrayDeque@2c4c2ba3
> -> toString = [org.infinispan.stream.impl.intops.object.MapOperation@31f4ac20]
> in object org.infinispan.stream.impl.termop.SegmentRetryingOperation@1aad4974
> -> toString = org.infinispan.stream.impl.termop.SegmentRetryingOperation@1aad4974
> in object org.infinispan.stream.impl.StreamRequestCommand@734ebbb6
> java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredScriptingTest-NodeF-8182, see cause for remote stack trace
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1318)
> at org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag(ClusteredScriptingTest.java:127)
> 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:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> 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:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> 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:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredScriptingTest-NodeF-8182, see cause for remote stack trace
> at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
> at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
> at org.infinispan.scripting.ClusteredScriptingTest$6.call(ClusteredScriptingTest.java:139)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1314)
> ... 29 more
> Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredScriptingTest-NodeF-8182, see cause for remote stack trace
> at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:44)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:818)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$306(JGroupsTransport.java:648)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.futureDone(SingleResponseFuture.java:30)
> at org.jgroups.blocks.Request.checkCompletion(Request.java:151)
> at org.jgroups.blocks.UnicastRequest.receiveResponse(UnicastRequest.java:70)
> at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:369)
> at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:233)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:695)
> at org.jgroups.JChannel.up(JChannel.java:738)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
> at org.jgroups.protocols.RSVP.up(RSVP.java:201)
> at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:390)
> at org.jgroups.protocols.tom.TOA.up(TOA.java:121)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1043)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
> at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1070)
> at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:785)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:649)
> at org.jgroups.protocols.Discovery.up(Discovery.java:296)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1567)
> at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1783)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.scripting.impl.DataTypedCache
> Caused by: an exception which occurred:
> in field capturedArgs
> in object org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139@5a8a3b80
> -> toString = org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139@5a8a3b80
> in object java.util.ArrayDeque@2c4c2ba3
> -> toString = [org.infinispan.stream.impl.intops.object.MapOperation@31f4ac20]
> in object org.infinispan.stream.impl.termop.SegmentRetryingOperation@1aad4974
> -> toString = org.infinispan.stream.impl.termop.SegmentRetryingOperation@1aad4974
> in object org.infinispan.stream.impl.StreamRequestCommand@734ebbb6
> -> toString = StreamRequestCommand{cacheName='___defaultcache'}
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months