Storm 1.1.0多节点群集

时间:2017-07-25 16:42:46

标签: apache-zookeeper apache-storm supervisor nimbus

我正在使用Storm v1.1.0,我在不同的机器上构建Storm,假设我有5台机器,

  • machine1:Zookeeper
  • machine2:Nimbus
  • machine3:Supervisor1
  • machine4:Supervisor2
  • machine5:UI

每台机器的配置如下:

machine1 
    tickTime=2000
    initLimit=10
    syncLimit=5
    dataDir=/tmp/zookeeper
    clientPort=2181

machine2
    storm.local.dir: "/mnt/storm"
    storm.zookeeper.servers: - "ZookeeperIP"

machines(3-4)
    storm.local.dir: "/mnt/storm"
    storm.zookeeper.servers: 
     - "ZookeeperIP"
    nimbus.seeds: ["NimbusIP"]

machine5
    storm.local.dir: "/mnt/storm"
    storm.zookeeper.servers: 
     - "ZookeeperIP"
    nimbus.seeds: ["NimbusIP"]
    ui.port: 8080 

所有运行正常没有错误,我也检查了日志,但没有错误也都运行并且正常运行!

问题是UI is showing anything and gives error in the console

1 个答案:

答案 0 :(得分:1)

machine5
    storm.local.dir: "/mnt/storm"
    storm.zookeeper.servers: 
     - "ZookeeperIP"
    nimbus.seeds: ["NimbusIP"]
    ui.port: 8080 

This configuration should be available in machine 2-5. From your description, machine 2 is missing nimbus.seeds and ui.port. Machine 3-4 is missing ui.port.

Try keeping the same configuration throughout your storm cluster.