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/127.0.0.1:2181, unexpected error,
closing socket connection and attempting reconnect
java.io.IOException: Packet len4315700 is out of range!
at
org.apache.zookeeper.ClientCnxn$SendThread.readLength(ClientCnxn.java:710)
at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:869)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1130)
WATCHER::
WatchedEvent state:Disconnected type:None path:null
Exception in thread "main"
org.apache.zookeeper.KeeperException$ConnectionLossException:
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.processZKCmd(ZooKeeperMain.java:700)
at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:581)
at
org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:353)
at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:311)
at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:270)