why my storm UI can not display the supervisor's information while I can run my project successfully?

336 views
Skip to first unread message

Waldstein Wang

unread,
Jun 5, 2013, 2:40:00 AM6/5/13
to storm...@googlegroups.com
Hi all,
my intention is setting up a cluster with 2 hosts. One is master running Zookeeper, nimbus and UI and the other one is slave running only supervisor.

The storm.yaml at master is :
########### These MUST be filled in for a storm configuration
# storm.zookeeper.servers:
#     - "localhost"
#
# nimbus.host: "localhost"
#
# storm.local.dir: "/wbh/Storm/workdir"
#
# supervisor.slots.ports: 
#        - 6700 
#        - 6701 
#        - 6702 
#        - 6703

The storm.yaml at slave is:
########### These MUST be filled in for a storm configuration
# storm.zookeeper.servers:
#     - "master's ip"
#
# nimbus.host: "master's ip"
#
# storm.local.dir: "/wbh/Storm/workdir"
#
# supervisor.slots.ports: 
#        - 6700 
#        - 6701 
#        - 6702 
#        - 6703

When I open http://localhost:8080 at master, the page shows:


It seems that UI did not know there is a supervisor on the slave host.

But when I test the WordCounter at both master and slave, it can run successfully. Why?!

Besides, when running at master, the log has following descriptions:
.......
1121 [main] INFO  backtype.storm.daemon.supervisor  - Starting supervisor with id ee32a3e5-0525-4314-8861-52a98836c988 at host "master's name"
.......
why storm start a supervisor at the master? I thought storm can use the supervisor at slave.

Thank you in advance


Richards Peter

unread,
Jun 5, 2013, 3:02:34 AM6/5/13
to storm...@googlegroups.com
Hi,

I would like to ask whether the comment symbols were removed from the storm.yaml file. The '#' symbol indicates a commented line in this case.

If the contents in storm.yaml file are same as per your mail, please uncomment the required lines and save it. Please kill your topology, restart storm daemons and start your topology. I think this should solve your problem.

Richards Peter.

Viral Bajaria

unread,
Jun 5, 2013, 3:07:13 AM6/5/13
to storm...@googlegroups.com
Richards is right, your config is not correct. You need to remove the # as step 1.

Also when you run the WordCounter, are you sure you are not running it in LocalCluster mode ? It seems you are doing that.

-Viral

Waldstein Wang

unread,
Jun 5, 2013, 10:24:01 AM6/5/13
to storm...@googlegroups.com
well, that seems to be a silly mistake.

Thank you!

在 2013年6月5日星期三UTC+8下午3时02分34秒,Richards Peter写道:

Waldstein Wang

unread,
Jun 5, 2013, 10:24:45 AM6/5/13
to storm...@googlegroups.com
I think I need to know more about LocalCluster mode.

Thank you!

在 2013年6月5日星期三UTC+8下午3时07分13秒,Viral Bajaria写道:
Reply all
Reply to author
Forward
0 new messages