打赏

storm的3节点集群详细启动步骤(非HA和HA)(图文详解)

 

 

前期博客

apache-storm-1.0.2.tar.gz的集群搭建(3节点)(图文详解)(非HA和HA)

 

 

 

 

启动storm集群(HA

 本博文情况是

  master(主)       nimbus 

  slave1(主)(从)        nimbus    supervisor 

  slave2(从)        supervisor 

 

 

1、先在master上启动 

nohup bin/storm nimbus >/dev/null 2>&1 & 

 

复制代码
[hadoop@master storm]$ jps
2374 QuorumPeerMain
7862 Jps
3343 AzkabanWebServer
2813 ResourceManager
3401 AzkabanExecutorServer
2515 NameNode
2671 SecondaryNameNode
[hadoop@master storm]$ nohup bin/storm nimbus >/dev/null 2>&1 & 
[1] 7876
[hadoop@master storm]$ jps
2374 QuorumPeerMain
7905 Jps
7910 config_value
3343 AzkabanWebServer
2813 ResourceManager
3401 AzkabanExecutorServer
2515 NameNode
2671 SecondaryNameNode
[hadoop@master storm]$
复制代码

 

 

 

 

 

 

 

 

2、再在slave1上启动

nohup bin/storm nimbus >/dev/null 2>&1 & 

 

复制代码
[hadoop@slave1 storm]$ jps
2421 NodeManager
2342 DataNode
4892 Jps
2274 QuorumPeerMain
[hadoop@slave1 storm]$ nohup bin/storm nimbus >/dev/null 2>&1 & 
[1] 4904

[hadoop@slave1 storm]$ jps
2421 NodeManager
5244 Jps
2342 DataNode
5135 nimbus
5234 config_value
2274 QuorumPeerMain

复制代码

 

 

 

 

 

 

 

 

 

 

 

3、先在slave1和slave2上启动

nohup bin/storm supervisor >/dev/null 2>&1 & 

 

 

 

 

 

复制代码
[hadoop@slave2 storm]$ jps
4868 Jps
4089 supervisor
2365 NodeManager
2291 DataNode
2229 QuorumPeerMain
[hadoop@slave2 storm]$ nohup bin/storm supervisor >/dev/null 2>&1 & 
[1] 4903
[hadoop@slave2 storm]$ jps
4918 Jps
4089 supervisor
2365 NodeManager
2291 DataNode
2229 QuorumPeerMain
[hadoop@slave2 storm]$ 
复制代码

 

 

 

 

 

 

4、在master上启动

nohup bin/storm ui>/dev/null 2>&1 & 

 

复制代码
[hadoop@master storm]$ jps
8550 config_value
2374 QuorumPeerMain
8113 supervisor
3343 AzkabanWebServer
2813 ResourceManager
8560 Jps
3401 AzkabanExecutorServer
8524 config_value
8372 core
2515 NameNode
2671 SecondaryNameNode
[hadoop@master storm]$ nohup bin/storm ui>/dev/null 2>&1 & 
[7] 8582
[hadoop@master storm]$ jps
2374 QuorumPeerMain
8113 supervisor
8623 Jps
3343 AzkabanWebServer
2813 ResourceManager
3401 AzkabanExecutorServer
8372 core
2515 NameNode
8597 config_value
2671 SecondaryNameNode
8613 config_value
[hadoop@master storm]$ 
复制代码

 

 

 

 

 

5、在master、slave1和slave2上启动

nohup bin/storm logviwer >/dev/null 2>&1 & 

 

 

 

 

 

 

 

 

 

 启动storm集群(非HA

 本博文情况是

  master(主)       nimbus 

  slave1(主)(从)     supervisor 

  slave2(从)        supervisor 

 

 

1、先在master上启动 

nohup bin/storm nimbus >/dev/null 2>&1 & 

 

复制代码
[hadoop@master storm]$ jps
2374 QuorumPeerMain
7862 Jps
3343 AzkabanWebServer
2813 ResourceManager
3401 AzkabanExecutorServer
2515 NameNode
2671 SecondaryNameNode
[hadoop@master storm]$ nohup bin/storm nimbus >/dev/null 2>&1 & 
[1] 7876
[hadoop@master storm]$ jps
2374 QuorumPeerMain
7905 Jps
7910 config_value
3343 AzkabanWebServer
2813 ResourceManager
3401 AzkabanExecutorServer
2515 NameNode
2671 SecondaryNameNode
9743 nimbus [hadoop@master storm]$
复制代码

 

 

 

 

2、先在slave1和slave2上启动

nohup bin/storm supervisor >/dev/null 2>&1 & 

 

 

 

 

 

复制代码
[hadoop@slave2 storm]$ jps
4868 Jps
4089 supervisor
2365 NodeManager
2291 DataNode
2229 QuorumPeerMain
[hadoop@slave2 storm]$ nohup bin/storm supervisor >/dev/null 2>&1 & 
[1] 4903
[hadoop@slave2 storm]$ jps
4918 Jps
4089 supervisor
2365 NodeManager
2291 DataNode
2229 QuorumPeerMain
[hadoop@slave2 storm]$ 
复制代码

 

 

 

 

 

 

3、在master上启动

nohup bin/storm ui>/dev/null 2>&1 & 

 

复制代码
[hadoop@master storm]$ jps
8550 config_value
2374 QuorumPeerMain
8113 supervisor
3343 AzkabanWebServer
2813 ResourceManager
8560 Jps
3401 AzkabanExecutorServer
8524 config_value
8372 core
2515 NameNode
2671 SecondaryNameNode
[hadoop@master storm]$ nohup bin/storm ui>/dev/null 2>&1 & 
[7] 8582
[hadoop@master storm]$ jps
2374 QuorumPeerMain
8113 supervisor
8623 Jps
3343 AzkabanWebServer
2813 ResourceManager
3401 AzkabanExecutorServer
8372 core
2515 NameNode
8597 config_value
2671 SecondaryNameNode
8613 config_value
[hadoop@master storm]$ 
复制代码

 

 

 

4、在master、slave1和slave2上启动

nohup bin/storm logviwer >/dev/null 2>&1 & 

 

 

 

 

 

posted @ 2017-07-27 21:27  大数据和AI躺过的坑  阅读(3236)  评论(0编辑  收藏  举报