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 Threaded View
Zookeeper >> mail # dev >> Zookeeper 3.4.4 doesn't work with Java 1.7.0_07


Copy link to this message
-
Zookeeper 3.4.4 doesn't work with Java 1.7.0_07
Hi,

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
,127.0.0.1:2185(
CONNECTED) 0] ls /
2012-10-02 14:45:33,663 [myid:] - INFO  [main-SendThread(127.0.0.1:2182
):ClientC
nxn$SendThread@1083] - Client session timed out, have not heard from server
in 2
0000ms for sessionid 0x23a22ca564d0000, closing socket connection and
attempting
 reconnect

WATCHER::

WatchedEvent state:Disconnected type:None path:null
Exception in thread "main"
org.apache.zookeeper.KeeperException$ConnectionLossEx
ception: KeeperErrorCode = ConnectionLoss for /
        at
org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at
org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1463)
        at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1491)
        at
org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:725)
        at
org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:593)
        at
org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:365)
        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 /
[zookeeper]
Anyone can look into this critical issue?

Thanks for your time and effort!

Jack
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