Members is not joining to cluster - [3.7.6 & 3.7.4] - com.hazelcast.nio.serialization.HazelcastSerializationException: No DataSerializerFactory registered for namespace: 0

78 views
Skip to first unread message

Tamilselvan Teivasekamani

unread,
Dec 15, 2016, 2:58:44 PM12/15/16
to Hazelcast
Hi Guys,

I am getting the following exception while having 2 members for the same cluster. Members starting individually but not join each other. while 2nd members started up, the following exception is thrown in first member.

SEVERE: [HICBEL38784]:5900 [dev] [3.7.4] Failed to process:Packet{flags=32, isResponse=false, isOperation=false, isEvent=false, partitionId=-1, conn=Connection[id=1, /192.168.1.6:5900->/192.168.1.6:60687, endpoint=null, alive=true, type=MEMBER]}
com.hazelcast.nio.serialization.HazelcastSerializationException: No DataSerializerFactory registered for namespace: 0
    at com
.hazelcast.internal.serialization.impl.DataSerializableSerializer.readInternal(DataSerializableSerializer.java:135)
    at com
.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:104)
    at com
.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:54)
    at com
.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:48)
    at com
.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:172)
    at com
.hazelcast.nio.tcp.TcpIpConnectionManager.handle(TcpIpConnectionManager.java:235)
    at com
.hazelcast.spi.impl.NodeEngineImpl$ConnectionManagerPacketHandler.handle(NodeEngineImpl.java:168)
    at com
.hazelcast.spi.impl.packetdispatcher.impl.PacketDispatcherImpl.dispatch(PacketDispatcherImpl.java:71)
    at com
.hazelcast.nio.tcp.MemberReadHandler.handlePacket(MemberReadHandler.java:75)
    at com
.hazelcast.nio.tcp.MemberReadHandler.onRead(MemberReadHandler.java:58)
    at com
.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader.handle(NonBlockingSocketReader.java:159)
    at com
.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKey(NonBlockingIOThread.java:345)
    at com
.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKeys(NonBlockingIOThread.java:330)
    at com
.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.selectLoop(NonBlockingIOThread.java:248)
    at com
.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.run(NonBlockingIOThread.java:201)


The same configuration is working fine as in standalone code (means from IDE) but not after integrated with the product.

Please anyone have any suggestions.

Thanks,
Tamilselvan

Jaromir Hamala

unread,
Dec 15, 2016, 3:14:36 PM12/15/16
to Hazelcast
Hi, 

there is no Hazelcast 3.7.6. The latest released 3.7.x version is 3.7.4. I guess you are trying to form a cluster consisting of 3.6.x and 3.7.x members? This is not supported, member can differ in a patch version, but minor version has to be the same for all cluster members. 

Cheers,
Jaromir

Tamilselvan Teivasekamani

unread,
Dec 15, 2016, 10:28:07 PM12/15/16
to Hazelcast
Thanks for the update. There was a typo, its 3.7.3 not 3.7.6 and sorry for the confusion. Two nodes are bundled with same jar file (using 3.7.4).

Tamilselvan Teivasekamani

unread,
Dec 15, 2016, 10:28:08 PM12/15/16
to Hazelcast
Reply all
Reply to author
Forward
0 new messages