zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuhan Zhang <yzh...@onescreen.com>
Subject zooKeeper connectionloss on a folder
Date Tue, 01 May 2012 03:24:53 GMT
Hi all,

I'm using zooKeeper as a task queue; however, it appears that the folder
(zookeeper data node) that I used to store the tasks
(zooKeeper data nodes) are not accessible anymore - whenever I run an "ls"
through zkCli.sh, the app will quit with a connectionLoss.

The other folders are ok. and viewable using "ls".

Is the file corrupted? There are a lot of objects in the files. Is there a
limit for the number of object can be stored in a folder (node)?

Thank you.

Yuhan Zhang

Here are the error messages:
[zk: localhost:2181(CONNECTED) 1] ls /com.onescreen.viewer
2012-05-01 03:21:39,533 - WARN
[main-SendThread(localhost:2181):ClientCnxn$SendThread@1161] - Session
0x1370667c2210003 for server localhost/, unexpected error,
closing socket connection and attempting reconnect
java.io.IOException: Packet len4315700 is out of range!
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:869)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1130)


WatchedEvent state:Disconnected type:None path:null
Exception in thread "main"
KeeperErrorCode = ConnectionLoss for /com.onescreen.viewer
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1243)
    at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1271)
    at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:581)
    at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:311)
    at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:270)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message