STORM启动与部署TOPOLOGY

文章来源:http://www.blogjava.net/paulwong/archive/2013/09/11/403942.html


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

你可能感兴趣的:(STORM启动与部署TOPOLOGY)