Hi, all

I have configured a storm cluster, 1 nimbus 2 supervisors, but seems I have
trouble to start supervisors. Here is the storm.yaml in nimbus:

storm.zookeeper.servers:
      - "10.100.70.128"
      - "10.100.70.28"
      - "10.100.70.29"
storm.zookeeper.port: 2181
nimbus.host: "10.100.70.128"
storm.local.dir: "/app/storm"
java.library.path: "/usr/lib/jvm/java-7-openjdk-amd64"
supervisor.slots.ports:
       - 6700
       - 6701
       - 6702
       - 6703
nimbus.childopts: "-Xms2048m -Djava.net.preferIPv4Stack=true"
ui.childopts: "-Xms1024m -Djava.net.preferIPv4Stack=true"
logviewer.childopts: "-Xmx512m"
supervisor.childopts: "-Xms1024m -Djava.net.preferIPv4Stack=true"
worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
topology.trident.batch.emit.interval.millis: 100
topology.message.timeout.secs: 300

This the yaml in supervisor nodes:

storm.zookeeper.servers:
      - "10.100.70.128"
      - "10.100.70.28"
      - "10.100.70.29"
storm.zookeeper.port: 2181
nimbus.host: "10.100.70.128"
storm.local.dir: "/app/storm"
java.library.path: "/usr/lib/jvm/java-7-openjdk-amd64
nimbus.childopts: "-Xms2048m -Djava.net.preferIPv4Stack=true"
ui.childopts: "-Xms1024m -Djava.net.preferIPv4Stack=true"
logviewer.childopts: "-Xmx512m"
supervisor.childopts: "-Xms1024m -Djava.net.preferIPv4Stack=true"
worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
topology.trident.batch.emit.interval.millis: 100
topology.message.timeout.secs: 300

I start nimbus, ui, supervisors by supervisord, and I found
supervisorctl status
storm-supervisor                 BACKOFF    Exited too quickly (process log
may have details)

And I start it in manual, the same thing, I see 0 supervisors in UI, but
when I check in zookeeper, seems to detect only one supervisor which may be
the one in the same node with nimbus.:
[zk: localhost:2181(CONNECTED) 2] ls /storm/supervisors
[c557e7e8-4549-4965-81b3-004334f0e831]

Anyone how to start the supervisors properly?

thanks


Alec

Reply via email to