Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> zooKeeper connectionloss on a folder


+
Yuhan Zhang 2012-05-01, 03:24
Copy link to this message
-
Re: zooKeeper connectionloss on a folder
How many objects are in that directory?

Sent from my iPhone

On Apr 30, 2012, at 8:24 PM, Yuhan Zhang <[EMAIL PROTECTED]> wrote:

> 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)
+
Yuhan Zhang 2012-05-01, 17:17
+
Ted Dunning 2012-05-01, 18:22
+
Yuhan Zhang 2012-05-01, 20:01
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB