[JBoss JIRA] (ISPN-6093) When infinispan-remote and infinispan-embedded are deployed together we get an error
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6093?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-6093:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha1
Resolution: Done
> When infinispan-remote and infinispan-embedded are deployed together we get an error
> ------------------------------------------------------------------------------------
>
> Key: ISPN-6093
> URL: https://issues.jboss.org/browse/ISPN-6093
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.1.0.Final, 8.2.0.Final
> Reporter: Sebastian Łaskawiec
> Assignee: Tristan Tarrant
> Priority: Minor
> Fix For: 9.0.0.Alpha1, 8.1.3.Final, 8.2.1.Final
>
>
> {code}
> Exception in thread "main" java.lang.NoSuchMethodError: org.infinispan.commons.logging.BasicLogFactory.getLog(Ljava/lang/Class;)Lorg/jboss/logging/BasicLogger;
> at org.infinispan.client.hotrod.impl.operations.PingOperation.<clinit>(PingOperation.java:25)
> at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.ping(TransportObjectFactory.java:51)
> at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:45)
> at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:16)
> at infinispan.org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.pingServersIgnoreException(TcpTransportFactory.java:177)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.start(TcpTransportFactory.java:148)
> at org.infinispan.client.hotrod.RemoteCacheManager.start(RemoteCacheManager.java:579)
> at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:380)
> at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:387)
> at org.infinispan.data.RemoteWordCount.main(RemoteWordCount.java:25)
> 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)
> {code}
> The main cause is that in embedded BasicLogger is relocated whereas in remote it's not.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6239) InitialClusterSizeTest.testInitialClusterSizeFail random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6239?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6239:
-------------------------------
Status: Pull Request Sent (was: Reopened)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4030, https://github.com/infinispan/infinispan/pull/4138 (was: https://github.com/infinispan/infinispan/pull/4030)
> InitialClusterSizeTest.testInitialClusterSizeFail random failures
> -----------------------------------------------------------------
>
> Key: ISPN-6239
> URL: https://issues.jboss.org/browse/ISPN-6239
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 8.2.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_failure
> Fix For: 8.2.0.CR1, 8.2.0.Final
>
>
> The test starts 3 nodes concurrently, but configures Infinispan to wait for a cluster of 4 nodes, and expects that the nodes fail to start in {{initialClusterTimeout}} + 1 second.
> However, because of a bug in {{TEST_PING}}, the first 2 nodes see each other as coordinator and send a {{JOIN}} request to each other, and it takes 3 seconds to recover and start the cluster properly.
> The bug in {{TEST_PING}} is actually a hack introduced for {{ISPN-5106}}. The problem was that the first node (A) to start would install a view with itself as the single node, but the second node to start (B) would start immediately, and the discovery request from B would reach B's {{TEST_PING}} before it saw the view. That way, B could choose itself as the coordinator based on the order of A's and B's UUIDs, and the cluster would start as 2 partitions. Since most of our tests actually remove {{MERGE3}} from the protocol stack, the partitions would never merge and the test would fail with a timeout.
> I fixed this in {{TEST_PING}} by assuming that the sender of the first discovery response is a coordinator, when there is a single response. This worked because all but a few tests start their managers sequentially, however it sometimes introduces this 3 seconds delay when nodes start in parallel.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6349) Add primitive CacheStream interfaces
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6349?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6349:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Add primitive CacheStream interfaces
> ------------------------------------
>
> Key: ISPN-6349
> URL: https://issues.jboss.org/browse/ISPN-6349
> Project: Infinispan
> Issue Type: Enhancement
> Components: Distributed Execution and Map/Reduce
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.0.0.Alpha1
>
>
> With ISPN-6272 we now have full CacheStream support for returns on operator invocations. e should also do this for the primitive interfaces (DoubleStream/IntStream/LongStream). The thought is to call them CacheDoubleStream/CacheIntStream/CacheLongStream.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years