I am evaluating Hazelcast and have come to a problem. Would appreciate your insight.
Version 2.2. A 2-member cluster maintaining a simple map. Multi-threaded clients connect to the cluster as native java clients and would do all kind of add/modify/delete of the objects on the map. There is a fixed key space. Objects can be deleted and new objects can be added later on with the same keys.
The cluster is pre-populated with 10,000 objects.
Thanks in advance.
=== Logs snippet from the trouble cluster memeber. Note the no-response error message would keep on printing with no end. ===
Aug 27, 2012 3:06:45 PM com.hazelcast.impl.ConcurrentMapManager
WARNING: [127.0.0.1]:5701 [dev] Still no response! Request{name='c:user',CONCURRENT_MAP_TRY_LOCK_AND_GET, callId='16458', redoCount='0', timeout='30000', lockThreadId='92', target='Address[127.0.0.1]:5702', local='true'}
Aug 27, 2012 3:06:45 PM com.hazelcast.impl.ConcurrentMapManager
WARNING: [127.0.0.1]:5701 [dev] Still no response! Request{name='c:user',CONCURRENT_MAP_TRY_LOCK_AND_GET, callId='16562', redoCount='0', timeout='300000', lockThreadId='94', target='Address[127.0.0.1]:5702', local='true'}
Aug 27, 2012 3:06:45 PM com.hazelcast.impl.ConcurrentMapManager
WARNING: [127.0.0.1]:5701 [dev] Still no response! Request{name='c:user',CONCURRENT_MAP_TRY_LOCK_AND_GET, callId='17002', redoCount='0', timeout='300000', lockThreadId='80', target='Address[127.0.0.1]:5702', local='true'}
Aug 27, 2012 3:06:45 PM com.hazelcast.impl.ConcurrentMapManager
WARNING: [127.0.0.1]:5701 [dev] Still no response! Request{name='c:user',CONCURRENT_MAP_TRY_LOCK_AND_GET, callId='17004', redoCount='0', timeout='30000', lockThreadId='78', target='Address[127.0.0.1]:5702', local='true'}
Aug 27, 2012 3:06:46 PM com.hazelcast.impl.ClientHandlerService
WARNING: [127.0.0.1]:5701 [dev] exception during handling CONCURRENT_MAP_PUT: [NONE] Could not acquire resource under transaction! Another thread holds a lock for the key : Data{partitionHash=-921146398} size= 10
com.hazelcast.core.OperationTimeoutException: [NONE] Could not acquire resource under transaction! Another thread holds a lock for the key : Data{partitionHash=-921146398} size= 10
at com.hazelcast.impl.BaseManager$TargetAwareOp.throwTxTimeoutException(BaseManager.java:937)
at com.hazelcast.impl.ConcurrentMapManager$MPut.txnalPut(ConcurrentMapManager.java:1775)
at com.hazelcast.impl.ConcurrentMapManager$MPut.txnalPut(ConcurrentMapManager.java:1759)
at com.hazelcast.impl.ConcurrentMapManager$MPut.put(ConcurrentMapManager.java:1628)
at com.hazelcast.impl.MProxyImpl$MProxyReal.put(MProxyImpl.java:618)
at com.hazelcast.impl.MProxyImpl$MProxyReal.put(MProxyImpl.java:597)
at com.hazelcast.impl.MProxyImpl.put(MProxyImpl.java:170)
at com.hazelcast.impl.MProxyImpl.put(MProxyImpl.java:121)
at com.hazelcast.impl.ClientHandlerService$MapPutHandler.processMapOp(ClientHandlerService.java:934)
at com.hazelcast.impl.ClientHandlerService$ClientMapOperationHandlerWithTTL.processCall(ClientHandlerService.java:1634)
at com.hazelcast.impl.ClientHandlerService$ClientOperationHandler.handle(ClientHandlerService.java:1586)
at com.hazelcast.impl.ClientRequestHandler$1.run(ClientRequestHandler.java:57)
at com.hazelcast.impl.ClientRequestHandler$1.run(ClientRequestHandler.java:54)
at com.hazelcast.impl.ClientRequestHandler.doRun(ClientRequestHandler.java:63)
at com.hazelcast.impl.FallThroughRunnable.run(FallThroughRunnable.java:22)
at com.hazelcast.impl.ClientHandlerService$Worker.run(ClientHandlerService.java:230)
at java.lang.Thread.run(Thread.java:680)
Aug 27, 2012 3:06:46 PM com.hazelcast.impl.ClientHandlerService
WARNING: [127.0.0.1]:5701 [dev] exception during handling CONCURRENT_MAP_PUT: [NONE] Could not acquire resource under transaction! Another thread holds a lock for the key : Data{partitionHash=-1362891295} size= 10
com.hazelcast.core.OperationTimeoutException: [NONE] Could not acquire resource under transaction! Another thread holds a lock for the key : Data{partitionHash=-1362891295} size= 10
at com.hazelcast.impl.BaseManager$TargetAwareOp.throwTxTimeoutException(BaseManager.java:937)
at com.hazelcast.impl.ConcurrentMapManager$MPut.txnalPut(ConcurrentMapManager.java:1775)
at com.hazelcast.impl.ConcurrentMapManager$MPut.txnalPut(ConcurrentMapManager.java:1759)
at com.hazelcast.impl.ConcurrentMapManager$MPut.put(ConcurrentMapManager.java:1628)
at com.hazelcast.impl.MProxyImpl$MProxyReal.put(MProxyImpl.java:618)
at com.hazelcast.impl.MProxyImpl$MProxyReal.put(MProxyImpl.java:597)
at com.hazelcast.impl.MProxyImpl.put(MProxyImpl.java:170)
at com.hazelcast.impl.MProxyImpl.put(MProxyImpl.java:121)
at com.hazelcast.impl.ClientHandlerService$MapPutHandler.processMapOp(ClientHandlerService.java:934)
at com.hazelcast.impl.ClientHandlerService$ClientMapOperationHandlerWithTTL.processCall(ClientHandlerService.java:1634)
at com.hazelcast.impl.ClientHandlerService$ClientOperationHandler.handle(ClientHandlerService.java:1586)
at com.hazelcast.impl.ClientRequestHandler$1.run(ClientRequestHandler.java:57)
at com.hazelcast.impl.ClientRequestHandler$1.run(ClientRequestHandler.java:54)
at com.hazelcast.impl.ClientRequestHandler.doRun(ClientRequestHandler.java:63)
at com.hazelcast.impl.FallThroughRunnable.run(FallThroughRunnable.java:22)
at com.hazelcast.impl.ClientHandlerService$Worker.run(ClientHandlerService.java:230)
at java.lang.Thread.run(Thread.java:680)
Aug 27, 2012 3:06:54 PM com.hazelcast.impl.ConcurrentMapManager
WARNING: [127.0.0.1]:5701 [dev] Still no response! Request{name='c:user',CONCURRENT_MAP_TRY_LOCK_AND_GET, callId='15007', redoCount='0', timeout='300000', lockThreadId='84', target='Address[127.0.0.1]:5702', local='true'}
Aug 27, 2012 3:06:54 PM com.hazelcast.impl.ConcurrentMapManager
WARNING: [127.0.0.1]:5701 [dev] Still no response! Request{name='c:user',CONCURRENT_MAP_TRY_LOCK_AND_GET, callId='15048', redoCount='0', timeout='300000', lockThreadId='86', target='Address[127.0.0.1]:5702', local='true'}