Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Several ways to start and stop hadoop and hbase clusters

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

1. Production environment cluster

2. Web management page

Hadoop web management page (active / standby)

Http://192.168.10.101:50070

Http://192.168.10.102:50070

Hbase web management page (active / standby)

Http://192.168.10.101:16010

Http://192.168.10.102:16010

3. Start and stop services

3.1. Startup sequence

Hadoop and hbase cluster startup sequence

Zookeepeer- > hadoop- > hbase

Hadoop and hbase cluster shutdown sequence

Hbase- > hadoop- > zookeepeer

3.2. start and stop ZK

Start and stop ZK

/ home/zookeeper-3.4.6/bin/zkServer.sh start | stop

3.3.Starting hadoop cluster

3.3.1. Start and stop Hadoop mode 1

Start and stop yarn and hdfs

/ data/hadoop/sbin/start-all.sh | stop-all.sh

Start and stop the historyserver process

/ data/hadoop/sbin/mr-jobhistory-daemon.sh start | stop historyserver

3.3.2. Start and stop Hadoop mode II

Start and stop hdfs cluster

/ data/hadoop/sbin/start-dfs.sh | stop-dfs.sh

Start and stop yarn cluster

/ data/hadoop/sbin/start-yarn.sh | stop-yarn.sh

Start and stop the historyserver process

/ data/hadoop/sbin/mr-jobhistory-daemon.sh start | stop historyserver

3.3.3. Start and stop Hadoop mode 3

Start and stop a single process of hdfs

/ data/hadoop/sbin/hadoop-daemon.sh start | stop namenode

/ data/hadoop/sbin/hadoop-daemon.sh start | stop datanode

/ data/hadoop/sbin/hadoop-daemon.sh start | stop journalnode

/ data/hadoop/sbin/hadoop-daemon.sh start | stop zkfc

Start and stop a single process of yarn

/ data/hadoop/sbin/yarn-daemon.sh start | stop resourcemanager

/ data/hadoop/sbin/yarn-daemons.sh start | stop nodemanager

Start and stop the historyserver process

/ data/hadoop/sbin/mr-jobhistory-daemon.sh start | stop historyserver

4. Start and stop Hbase cluster

4.1. start and stop Hbase mode 1

Start and stop HBase cluster

/ data/hbase/bin/start-hbase.sh | stop-hbase.sh

42.Starting and stopping Hbase mode II

Start and stop a single Hbase process

/ data/hbase/bin/hbase-daemon.sh start | stop master

/ data/hbase/bin/hbase-daemon.sh start | stop regionserver

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report