都是storm.yaml,一次是:nimbus.host: "192.168.0.4" 中间的空格少了,一次是:storm.zookeeper.root: "/home/hadoop/storm"写成了:storm.zookeeper.root: "/home/hadoop/storm/" 结果导致:
- 2012-05-14 17:25:44 ZooKeeper [INFO] Session: 0x1374c6242630000 closed
- 2012-05-14 17:25:44 CuratorFrameworkImpl [INFO] Starting
- 2012-05-14 17:25:44 ZooKeeper [INFO] Initiating client connection, connectString=nimbus:2181,storm1:2181,storm2:2181/home/hadoop/sto
- rm/ sessionTimeout=20000 watcher=com.netflix.curator.ConnectionState@c19fbf
- 2012-05-14 17:25:44 CuratorFrameworkImpl [ERROR] Background exception was not retry-able or retry gave up
- java.lang.IllegalArgumentException: Path must not end with / character
- at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
- at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:367)
- at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:331)
- at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:377)
- at com.netflix.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:72)
- at com.netflix.curator.HandleHolder.getZooKeeper(HandleHolder.java:46)
- at com.netflix.curator.ConnectionState.reset(ConnectionState.java:122)
- at com.netflix.curator.ConnectionState.start(ConnectionState.java:95)
- at com.netflix.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:137)
- at com.netflix.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:167)
- at backtype.storm.zookeeper$mk_client.doInvoke(zookeeper.clj:61)
- at clojure.lang.RestFn.invoke(RestFn.java:558)
- at backtype.storm.cluster$mk_distributed_cluster_state.invoke(cluster.clj:32)
- at backtype.storm.cluster$mk_storm_cluster_state.invoke(cluster.clj:193)
- at backtype.storm.daemon.supervisor$fn__4072$exec_fn__1026__auto____4073.invoke(supervisor.clj:171)
- at clojure.lang.AFn.applyToHelper(AFn.java:165)
- at clojure.lang.AFn.applyTo(AFn.java:151)
- at clojure.core$apply.invoke(core.clj:540)
- at backtype.storm.daemon.supervisor$fn__4072$mk_supervisor__4277.doInvoke(supervisor.clj:165)
- at clojure.lang.RestFn.invoke(RestFn.java:422)
- at backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:426)
- at clojure.lang.AFn.applyToHelper(AFn.java:159)
- at clojure.lang.AFn.applyTo(AFn.java:151)
- at backtype.storm.daemon.supervisor.main(Unknown Source)
- 2012-05-14 17:25:44 ClientCnxn [INFO] EventThread shut down
- 2012-05-14 17:25:44 zookeeper [ERROR] Unrecoverable Zookeeper error Background exception was not retry-able or retry gave up
- java.lang.IllegalArgumentException: Path must not end with / character
- at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
- at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:367)
- at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:331)
- at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:377)
- at com.netflix.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:72)
- at com.netflix.curator.HandleHolder.getZooKeeper(HandleHolder.java:46)
- at com.netflix.curator.ConnectionState.reset(ConnectionState.java:122)
- at com.netflix.curator.ConnectionState.start(ConnectionState.java:95)
- at com.netflix.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:137)
- at com.netflix.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:167)
- at backtype.storm.zookeeper$mk_client.doInvoke(zookeeper.clj:61)
- at clojure.lang.RestFn.invoke(RestFn.java:558)
- at backtype.storm.cluster$mk_distributed_cluster_state.invoke(cluster.clj:32)
- at backtype.storm.cluster$mk_storm_cluster_state.invoke(cluster.clj:193)
- at backtype.storm.daemon.supervisor$fn__4072$exec_fn__1026__auto____4073.invoke(supervisor.clj:171)
- at clojure.lang.AFn.applyToHelper(AFn.java:165)
- at clojure.lang.AFn.applyTo(AFn.java:151)
- at clojure.core$apply.invoke(core.clj:540)
- at backtype.storm.daemon.supervisor$fn__4072$mk_supervisor__4277.doInvoke(supervisor.clj:165)
- at clojure.lang.RestFn.invoke(RestFn.java:422)
- at backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:426)
- at clojure.lang.AFn.applyToHelper(AFn.java:159)
- at clojure.lang.AFn.applyTo(AFn.java:151)
- at backtype.storm.daemon.supervisor.main(Unknown Source)
- 2012-05-14 17:25:44 util [INFO] Halting process: ("Unrecoverable Zookeeper error")
灰头土脸的败了!
阅读(9839) | 评论(0) | 转发(0) |