[infinispan-dev] Infinispan added to bench fwk but exception when running test
Galder Zamarreno
galder.zamarreno at redhat.com
Fri Apr 24 16:25:14 EDT 2009
Galder Zamarreno wrote:
>
>
> manik at jboss.org wrote:
>> Looks like a state transfer sync issue. Just to confirm, does this
>> work if state transfer is disabled? Or, if ST is already disabled,
>> could you try enabling?
>
> I'll verify later today. Thx Manik!
Eventually, I got this working. I, naively, pointed to the default
JGroups stacks that come inside jgroups.jar but neither udp.xml nor
tcp.xml had FLUSH, so infinispan would get stuck!
It's a very silly configuration mistake but it's taken me ages to figure
out. We should make it more obvious if FLUSH is a must (regardless of
whether state transfer is on or not!)
>
>>
>> Sent from my iPhone
>>
>> On 22 Apr 2009, at 21:14, Galder Zamarreno
>> <galder.zamarreno at redhat.com> wrote:
>>
>>> Hi,
>>>
>>> I've added Infinispan cache product to the cache benchmark framework
>>> based on Alpha1 (checked out and built from tag):
>>>
>>> https://svn.jboss.org/repos/jbosscache/benchmarks/benchmark-fwk/trunk/cache-products/infinispan-4.0.0/
>>>
>>>
>>> I've tried to run a basic replicated test (see attached
>>> cachebench.xml) but I keep getting exceptions like this in both nodes:
>>>
>>> Caused by: java.util.concurrent.TimeoutException: Timed out waiting
>>> for a cluster-wide sync to be released. (timeout = 5 seconds)
>>> at
>>> org.infinispan.remoting.transport.jgroups.FlushBasedDistributedSync.blockUntilReleased(FlushBasedDistributedSync.java:51)
>>>
>>> at
>>> org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:291)
>>>
>>>
>>> I'm a bit confused by this. What is exactly waiting for? Both nodes
>>> join fine and I'm using tcp.xml. Find attached logs.
>>>
>>> FYI, this is the way I'm running this:
>>>
>>> Open 1st window and execute:
>>>
>>> export MYTESTIP_2=127.0.0.2
>>> ./runNode.sh 0 infinispan-4.0.0 repl-sync-RR.xml 2
>>>
>>> Open 2nd window and execute:
>>> export MYTESTIP_2=127.0.0.3
>>> ./runNode.sh 1 infinispan-4.0.0 repl-sync-RR.xml 2
>>>
>>> Cheers,
>>> --
>>> Galder Zamarre�o
>>> Sr. Software Maintenance Engineer
>>> JBoss, a division of Red Hat
>>>
>>> <logs.zip>
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
--
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat
More information about the infinispan-dev
mailing list