(转)STORM启动与部署TOPOLOGY

STORM启动与部署TOPOLOGY

  1. 启动ZOOPKEEPER
    zkServer.sh start
  2. 启动NIMBUS
    storm nimbus &
  3. 启动SUPERVISOR
    storm supervisor &
  4. 启动UI
    storm ui &
  5. 部署TOPOLOGY
    storm jar /opt/hadoop/loganalyst/storm-dependend/data/teststorm-1.0.jar teststorm.TopologyMain /opt/hadoop/loganalyst/storm-dependend/data/words.txt
  6. 删除TOPOLOGY
    storm kill {toponame}
  7. 激活TOPOLOGY
    storm active {toponame}
  8. 不激活TOPOLOGY
    storm deactive {toponame}
  9. 列出所有TOPOLOGY
    storm list

link:http://www.blogjava.net/paulwong/archive/2013/09/11/403942.html

posted @ 2016-03-23 10:17  ccmaotang  阅读(198)  评论(0编辑  收藏  举报