zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wuyiyun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2973) "Unreasonable length" exception
Date Thu, 01 Feb 2018 01:02:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16347842#comment-16347842
] 

wuyiyun commented on ZOOKEEPER-2973:
------------------------------------

Me too!. I met OutOfMemory error cause zookeeper shutdown. but you can add crontab task to
restart zookeeper to resolve this issue. 

Of course, you should insure that zookeeper client jar has same version with zookeeper server
firstly.

> "Unreasonable length" exception 
> --------------------------------
>
>                 Key: ZOOKEEPER-2973
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2973
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.6
>            Reporter: wanggang_123
>            Priority: Blocker
>
> I am running a three node ZooKeeper cluster. At 2018-01-28 17:56:30,leader node has error
log:
> 2018-01-28 17:56:30 [UTC:20180128T175630+0800]|ERROR||LearnerHandler-/118.123.180.23:44836hread|Coordination
> Unexpected exception causing shutdown while sock still open (LearnerHandler.java:633)
> java.io.IOException: Unreasonable length = 1885430131
>  at org.apache.jute.BinaryInputArchive.readBuffer(BinaryInputArchive.java:95)
>  at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:85)
>  at org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:103)
>  at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:546)
> 2018-01-28 17:56:30 [UTC:20180128T175630+0800]|WARN ||LearnerHandler-/118.123.180.23:44836hread|Coordination
> ******* GOODBYE /118.123.180.23:44836 ******** (LearnerHandler.java:646)
> 2018-01-28 17:56:30 [UTC:20180128T175630+0800]|INFO ||ProcessThread(sid:2 cport:-1):hread|Coordination
> Got user-level KeeperException when processing sessionid:0x16138593ad43cf9 type:delete
cxid:0x5 zxid:0xc104b59e9 txntype:-1 reqpath:n/a Error Path:/VSP/Leader/syncScore-0/_c_9101a3d6-f431-4792-b71d-a493e938895d-latch-0000093037
Error:KeeperErrorCode = NoNode for /VSP/Leader/syncScore-0/_c_9101a3d6-f431-4792-b71d-a493e938895d-latch-0000093037
(PrepRequestProcessor.java:645)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message