Skip to content

Instantly share code, notes, and snippets.

@iconara
Created September 21, 2011 16:44
Show Gist options
  • Save iconara/1232610 to your computer and use it in GitHub Desktop.
Save iconara/1232610 to your computer and use it in GitHub Desktop.
Storm/Zookeeper errors
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:host.name=172.16.160.1
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.version=1.7.0-internal
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.vendor=Oracle Corporation
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.home=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.class.path=/Users/theo/Downloads/storm-0.5.0/lib/clj-time-0.3.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/clojure-1.2.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/clojure-contrib-1.2.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/clout-0.4.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-cli-1.2.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-codec-1.3.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-el-1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-exec-1.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-fileupload-1.2.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-httpclient-3.0.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-io-1.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-lang-2.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-logging-1.0.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-logging-api-1.0.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-net-1.4.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/compojure-0.6.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/core.incubator-0.1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/hiccup-0.3.6.jar:/Users/theo/Downloads/storm-0.5.0/lib/jetty-6.1.26.jar:/Users/theo/Downloads/storm-0.5.0/lib/jetty-util-6.1.26.jar:/Users/theo/Downloads/storm-0.5.0/lib/jline-0.9.94.jar:/Users/theo/Downloads/storm-0.5.0/lib/joda-time-1.6.jar:/Users/theo/Downloads/storm-0.5.0/lib/json-simple-1.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/junit-3.8.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/jvyaml-1.0.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/jzmq-2.1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/log4j-1.2.16.jar:/Users/theo/Downloads/storm-0.5.0/lib/oro-2.0.8.jar:/Users/theo/Downloads/storm-0.5.0/lib/ring-core-0.3.10.jar:/Users/theo/Downloads/storm-0.5.0/lib/ring-jetty-adapter-0.3.11.jar:/Users/theo/Downloads/storm-0.5.0/lib/ring-servlet-0.3.11.jar:/Users/theo/Downloads/storm-0.5.0/lib/servlet-api-2.5-20081211.jar:/Users/theo/Downloads/storm-0.5.0/lib/servlet-api-2.5.jar:/Users/theo/Downloads/storm-0.5.0/lib/slf4j-api-1.5.10.jar:/Users/theo/Downloads/storm-0.5.0/lib/slf4j-log4j12-1.5.10.jar:/Users/theo/Downloads/storm-0.5.0/lib/thriftjava-1.0.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/tools.macro-0.1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/zookeeper-3.3.2.jar:/Users/theo/Downloads/storm-0.5.0/storm-0.5.0.jar:/Users/theo/Downloads/storm-0.5.0/log4j:build/stormtest.jar
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.library.path=/usr/local/lib
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.io.tmpdir=/var/folders/lp/bwr1yyvn7vn6jn6mt03z50tr0000gn/T/
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:java.compiler=<NA>
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:os.name=Mac OS X
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:os.arch=x86_64
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:os.version=10.7.1
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:user.name=theo
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:user.home=/Users/theo
2011-09-21 18:43:41 ZooKeeper [INFO] Client environment:user.dir=/Users/theo/Documents/Code/stormtest
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:host.name=172.16.160.1
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.version=1.7.0-internal
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.vendor=Oracle Corporation
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.home=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.class.path=/Users/theo/Downloads/storm-0.5.0/lib/clj-time-0.3.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/clojure-1.2.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/clojure-contrib-1.2.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/clout-0.4.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-cli-1.2.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-codec-1.3.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-el-1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-exec-1.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-fileupload-1.2.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-httpclient-3.0.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-io-1.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-lang-2.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-logging-1.0.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-logging-api-1.0.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/commons-net-1.4.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/compojure-0.6.4.jar:/Users/theo/Downloads/storm-0.5.0/lib/core.incubator-0.1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/hiccup-0.3.6.jar:/Users/theo/Downloads/storm-0.5.0/lib/jetty-6.1.26.jar:/Users/theo/Downloads/storm-0.5.0/lib/jetty-util-6.1.26.jar:/Users/theo/Downloads/storm-0.5.0/lib/jline-0.9.94.jar:/Users/theo/Downloads/storm-0.5.0/lib/joda-time-1.6.jar:/Users/theo/Downloads/storm-0.5.0/lib/json-simple-1.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/junit-3.8.1.jar:/Users/theo/Downloads/storm-0.5.0/lib/jvyaml-1.0.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/jzmq-2.1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/log4j-1.2.16.jar:/Users/theo/Downloads/storm-0.5.0/lib/oro-2.0.8.jar:/Users/theo/Downloads/storm-0.5.0/lib/ring-core-0.3.10.jar:/Users/theo/Downloads/storm-0.5.0/lib/ring-jetty-adapter-0.3.11.jar:/Users/theo/Downloads/storm-0.5.0/lib/ring-servlet-0.3.11.jar:/Users/theo/Downloads/storm-0.5.0/lib/servlet-api-2.5-20081211.jar:/Users/theo/Downloads/storm-0.5.0/lib/servlet-api-2.5.jar:/Users/theo/Downloads/storm-0.5.0/lib/slf4j-api-1.5.10.jar:/Users/theo/Downloads/storm-0.5.0/lib/slf4j-log4j12-1.5.10.jar:/Users/theo/Downloads/storm-0.5.0/lib/thriftjava-1.0.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/tools.macro-0.1.0.jar:/Users/theo/Downloads/storm-0.5.0/lib/zookeeper-3.3.2.jar:/Users/theo/Downloads/storm-0.5.0/storm-0.5.0.jar:/Users/theo/Downloads/storm-0.5.0/log4j:build/stormtest.jar
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.library.path=/usr/local/lib
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.io.tmpdir=/var/folders/lp/bwr1yyvn7vn6jn6mt03z50tr0000gn/T/
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:java.compiler=<NA>
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:os.name=Mac OS X
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:os.arch=x86_64
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:os.version=10.7.1
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:user.name=theo
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:user.home=/Users/theo
2011-09-21 18:43:41 ZooKeeperServer [INFO] Server environment:user.dir=/Users/theo/Documents/Code/stormtest
2011-09-21 18:43:42 ZooKeeperServer [INFO] Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir /var/folders/lp/bwr1yyvn7vn6jn6mt03z50tr0000gn/T/f381849d-dfe3-424f-8127-6c85a0afc658/version-2 snapdir /var/folders/lp/bwr1yyvn7vn6jn6mt03z50tr0000gn/T/f381849d-dfe3-424f-8127-6c85a0afc658/version-2
2011-09-21 18:43:42 NIOServerCnxn [INFO] binding to port 0.0.0.0/0.0.0.0:2181
2011-09-21 18:43:42 FileTxnSnapLog [INFO] Snapshotting: 0
2011-09-21 18:43:42 ZooKeeper [INFO] Initiating client connection, connectString=/ sessionTimeout=10000 watcher=backtype.storm.zookeeper$mk_client$reify__1043@234c4cc7
2011-09-21 18:43:42 ClientCnxn [INFO] Opening socket connection to server localhost/127.0.0.1:2181
2011-09-21 18:43:42 ClientCnxn [INFO] Socket connection established to localhost/127.0.0.1:2181, initiating session
2011-09-21 18:43:42 NIOServerCnxn [INFO] Accepted socket connection from /127.0.0.1:58090
2011-09-21 18:43:42 NIOServerCnxn [INFO] Client attempting to establish new session at /127.0.0.1:58090
2011-09-21 18:43:42 FileTxnLog [INFO] Creating new log file: log.1
2011-09-21 18:43:42 NIOServerCnxn [INFO] Established session 0x1328cdf13140000 with negotiated timeout 10000 for client /127.0.0.1:58090
2011-09-21 18:43:42 ClientCnxn [INFO] Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1328cdf13140000, negotiated timeout = 10000
2011-09-21 18:43:42 zookeeper [INFO] Zookeeper state update: :connected:none
2011-09-21 18:43:42 PrepRequestProcessor [INFO] Processed session termination for sessionid: 0x1328cdf13140000
2011-09-21 18:43:42 ZooKeeper [INFO] Session: 0x1328cdf13140000 closed
2011-09-21 18:43:42 ClientCnxn [INFO] EventThread shut down
2011-09-21 18:43:42 NIOServerCnxn [WARN] EndOfStreamException: Unable to read additional data from client sessionid 0x1328cdf13140000, likely client has closed socket
2011-09-21 18:43:42 NIOServerCnxn [INFO] Closed socket connection for client /127.0.0.1:58090 which had sessionid 0x1328cdf13140000
2011-09-21 18:43:42 ZooKeeper [INFO] Initiating client connection, connectString=/storm sessionTimeout=10000 watcher=backtype.storm.zookeeper$mk_client$reify__1043@780c94eb
2011-09-21 18:43:42 ClientCnxn [INFO] Opening socket connection to server localhost/127.0.0.1:2181
2011-09-21 18:43:42 ClientCnxn [INFO] Socket connection established to localhost/127.0.0.1:2181, initiating session
2011-09-21 18:43:42 NIOServerCnxn [INFO] Accepted socket connection from /127.0.0.1:58091
2011-09-21 18:43:42 NIOServerCnxn [INFO] Client attempting to establish new session at /127.0.0.1:58091
2011-09-21 18:43:42 NIOServerCnxn [INFO] Established session 0x1328cdf13140001 with negotiated timeout 10000 for client /127.0.0.1:58091
2011-09-21 18:43:42 ClientCnxn [INFO] Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1328cdf13140001, negotiated timeout = 10000
2011-09-21 18:43:49 ClientCnxn [INFO] Client session timed out, have not heard from server in 6667ms for sessionid 0x1328cdf13140001, closing socket connection and attempting reconnect
2011-09-21 18:43:49 cluster [INFO] Zookeeper disconnected. Attempting to reconnect
2011-09-21 18:43:49 ZooKeeper [INFO] Initiating client connection, connectString=/storm sessionTimeout=10000 watcher=backtype.storm.zookeeper$mk_client$reify__1043@6e4e0220
2011-09-21 18:43:49 ClientCnxn [INFO] Opening socket connection to server localhost/127.0.0.1:2181
2011-09-21 18:43:49 ClientCnxn [INFO] Socket connection established to localhost/127.0.0.1:2181, initiating session
2011-09-21 18:43:49 NIOServerCnxn [INFO] Accepted socket connection from /127.0.0.1:58092
2011-09-21 18:43:49 nimbus [ERROR] Error on initialization of server service-handler
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /assignments
at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:809)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:837)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
at backtype.storm.zookeeper$exists_node_QMARK_.invoke(zookeeper.clj:60)
at backtype.storm.zookeeper$mkdirs.invoke(zookeeper.clj:67)
at backtype.storm.cluster$mk_distributed_cluster_state$reify__1229.mkdirs(cluster.clj:80)
at backtype.storm.cluster$mk_storm_cluster_state.invoke(cluster.clj:208)
at backtype.storm.daemon.nimbus$fn__2457$exec_fn__837__auto____2458.invoke(nimbus.clj:388)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.AFn.applyTo(AFn.java:151)
at clojure.core$apply.invoke(core.clj:540)
at backtype.storm.daemon.nimbus$fn__2457$service_handler__2626.doInvoke(nimbus.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:409)
at backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:97)
at clojure.lang.RestFn.invoke(RestFn.java:398)
at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:10)
at backtype.storm.LocalCluster.<init>(Unknown Source)
at stormtest.SomeTopology.main(SomeTopology.java:44)
2011-09-21 18:43:49 NIOServerCnxn [INFO] Client attempting to establish new session at /127.0.0.1:58092
2011-09-21 18:43:49 NIOServerCnxn [INFO] Established session 0x1328cdf13140002 with negotiated timeout 10000 for client /127.0.0.1:58092
2011-09-21 18:43:49 ClientCnxn [INFO] Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1328cdf13140002, negotiated timeout = 10000
2011-09-21 18:43:49 util [INFO] Halting process: ("Error on initialization")
@yishenggudou
Copy link

i get the same error too

@caimc1020
Copy link

I have the same error too ,but i'don;t know why is it. can you tell me why!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment