This is known issue.
Please try 3.4.5 RC0
On Tue, Oct 2, 2012 at 11:56 AM, Jack Luo <[EMAIL PROTECTED]> wrote:
> I download and install the Zookeeper 3.4.4.
> If I have /usr/java/default -> /usr/java/latest -> /usr/java/jdk1.7.0_07
> and I try to connect with the client on the local machine, I see the
> following exception
> WatchedEvent state:SyncConnected type:None path:null
> [zk: 127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183,127.0.0.1:2184
> CONNECTED) 0] ls /
> 2012-10-02 14:45:33,663 [myid:] - INFO [main-SendThread(127.0.0.1:2182
> nxn$SendThread@1083] - Client session timed out, have not heard from
> in 2
> 0000ms for sessionid 0x23a22ca564d0000, closing socket connection and
> WatchedEvent state:Disconnected type:None path:null
> Exception in thread "main"
> ception: KeeperErrorCode = ConnectionLoss for /
> at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1463)
> at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1491)
> at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
> at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)
> However, if I have /usr/java/default -> /usr/java/latest ->
> /usr/java/jdk1.6.0_27, the ls / command is successful:
> [zk: 127.0.0.1:2181(CONNECTED) 0] ls /
> Anyone can look into this critical issue?
> Thanks for your time and effort!