twitter storm 踩到两次地雷

9826阅读 0评论2012-05-15 playmud
分类:云计算

都是storm.yaml,一次是:nimbus.host: "192.168.0.4" 中间的空格少了,一次是:storm.zookeeper.root: "/home/hadoop/storm"写成了:storm.zookeeper.root: "/home/hadoop/storm/" 结果导致:

点击(此处)折叠或打开

  1. 2012-05-14 17:25:44 ZooKeeper [INFO] Session: 0x1374c6242630000 closed
  2. 2012-05-14 17:25:44 CuratorFrameworkImpl [INFO] Starting
  3. 2012-05-14 17:25:44 ZooKeeper [INFO] Initiating client connection, connectString=nimbus:2181,storm1:2181,storm2:2181/home/hadoop/sto
  4. rm/ sessionTimeout=20000 watcher=com.netflix.curator.ConnectionState@c19fbf
  5. 2012-05-14 17:25:44 CuratorFrameworkImpl [ERROR] Background exception was not retry-able or retry gave up
  6. java.lang.IllegalArgumentException: Path must not end with / character
  7. at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
  8. at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:367)
  9. at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:331)
  10. at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:377)
  11. at com.netflix.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:72)
  12. at com.netflix.curator.HandleHolder.getZooKeeper(HandleHolder.java:46)
  13. at com.netflix.curator.ConnectionState.reset(ConnectionState.java:122)
  14. at com.netflix.curator.ConnectionState.start(ConnectionState.java:95)
  15. at com.netflix.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:137)
  16. at com.netflix.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:167)
  17. at backtype.storm.zookeeper$mk_client.doInvoke(zookeeper.clj:61)
  18. at clojure.lang.RestFn.invoke(RestFn.java:558)
  19. at backtype.storm.cluster$mk_distributed_cluster_state.invoke(cluster.clj:32)
  20. at backtype.storm.cluster$mk_storm_cluster_state.invoke(cluster.clj:193)
  21. at backtype.storm.daemon.supervisor$fn__4072$exec_fn__1026__auto____4073.invoke(supervisor.clj:171)
  22. at clojure.lang.AFn.applyToHelper(AFn.java:165)
  23. at clojure.lang.AFn.applyTo(AFn.java:151)
  24. at clojure.core$apply.invoke(core.clj:540)
  25. at backtype.storm.daemon.supervisor$fn__4072$mk_supervisor__4277.doInvoke(supervisor.clj:165)
  26. at clojure.lang.RestFn.invoke(RestFn.java:422)
  27. at backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:426)
  28. at clojure.lang.AFn.applyToHelper(AFn.java:159)
  29. at clojure.lang.AFn.applyTo(AFn.java:151)
  30. at backtype.storm.daemon.supervisor.main(Unknown Source)
  31. 2012-05-14 17:25:44 ClientCnxn [INFO] EventThread shut down
  32. 2012-05-14 17:25:44 zookeeper [ERROR] Unrecoverable Zookeeper error Background exception was not retry-able or retry gave up
  33. java.lang.IllegalArgumentException: Path must not end with / character
  34. at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
  35. at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:367)
  36. at org.apache.zookeeper.ClientCnxn.(ClientCnxn.java:331)
  37. at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:377)
  38. at com.netflix.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:72)
  39. at com.netflix.curator.HandleHolder.getZooKeeper(HandleHolder.java:46)
  40. at com.netflix.curator.ConnectionState.reset(ConnectionState.java:122)
  41. at com.netflix.curator.ConnectionState.start(ConnectionState.java:95)
  42. at com.netflix.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:137)
  43. at com.netflix.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:167)
  44. at backtype.storm.zookeeper$mk_client.doInvoke(zookeeper.clj:61)
  45. at clojure.lang.RestFn.invoke(RestFn.java:558)
  46. at backtype.storm.cluster$mk_distributed_cluster_state.invoke(cluster.clj:32)
  47. at backtype.storm.cluster$mk_storm_cluster_state.invoke(cluster.clj:193)
  48. at backtype.storm.daemon.supervisor$fn__4072$exec_fn__1026__auto____4073.invoke(supervisor.clj:171)
  49. at clojure.lang.AFn.applyToHelper(AFn.java:165)
  50. at clojure.lang.AFn.applyTo(AFn.java:151)
  51. at clojure.core$apply.invoke(core.clj:540)
  52. at backtype.storm.daemon.supervisor$fn__4072$mk_supervisor__4277.doInvoke(supervisor.clj:165)
  53. at clojure.lang.RestFn.invoke(RestFn.java:422)
  54. at backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:426)
  55. at clojure.lang.AFn.applyToHelper(AFn.java:159)
  56. at clojure.lang.AFn.applyTo(AFn.java:151)
  57. at backtype.storm.daemon.supervisor.main(Unknown Source)
  58. 2012-05-14 17:25:44 util [INFO] Halting process: ("Unrecoverable Zookeeper error")
灰头土脸的败了!
上一篇:用storm做drpc真的很赞
下一篇:redis命令