]
Manik Surtani updated ISPN-759:
-------------------------------
Summary: ClassCastException during a rehash (was: ClassCastException at the
start of 5 nodes cluster)
Fix Version/s: 4.2.0.CR1
Component/s: Core API
RPC
State transfer
(was: Cache Server)
ClassCastException during a rehash
----------------------------------
Key: ISPN-759
URL:
https://jira.jboss.org/browse/ISPN-759
Project: Infinispan
Issue Type: Bug
Components: Core API, RPC, State transfer
Affects Versions: 4.2.0.BETA1
Reporter: Jacek Gerbszt
Assignee: Manik Surtani
Fix For: 4.2.0.CR1
During the start of a cluster containing 5 nodes of HotRod Server, I receive a couple of
warnings like this:
2010-11-04 13:55:06,721 WARN [org.infinispan.remoting.InboundInvocationHandlerImpl]
(OOB-7,wp-334) Cache named [___defaultcache] exists but isn't in a state to handle
invocations. Its state is INSTANTIATED.
2010-11-04 13:55:06,722 WARN [org.infinispan.remoting.InboundInvocationHandlerImpl]
(OOB-6,wp-334) Cache named [___defaultcache] exists but isn't in a state to handle
invocations. Its state is INSTANTIATED.
And eventually an exception:
2010-11-04 13:56:19,199 ERROR [org.infinispan.distribution.JoinTask] (Rehasher-wp-334)
Caught exception!
java.lang.ClassCastException: org.infinispan.remoting.responses.RequestIgnoredResponse
cannot be cast to org.infinispan.remoting.responses.SuccessfulResponse
at org.infinispan.distribution.JoinTask.updateTopologyInfo(JoinTask.java:162)
at org.infinispan.distribution.JoinTask.broadcastNewCh(JoinTask.java:157)
at org.infinispan.distribution.JoinTask.performRehash(JoinTask.java:103)
at org.infinispan.distribution.RehashTask.call(RehashTask.java:53)
at org.infinispan.distribution.RehashTask.call(RehashTask.java:33)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
By the way, I'm trying to answer the question - is it possiblle to start mid size
cluster (let's say 20 nodes) at once - every node at the very same time. Have you ever
tried this scenario?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: