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

How to shut down and start Hadoop 2.7.4

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly explains "how to shut down and start Hadoop 2.7.4". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to shut down and start Hadoop 2.7.4".

Environment description:

[root@hadp-master sbin] # hadoop version

Hadoop 2.7.4

First, the script package is all started and closed together.

1.1 start

[root@hadp-master sbin] #. / start-all.sh

This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh

Starting namenodes on [hadp-master]

Hadp-master: starting namenode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-namenode-hadp-master.out

Hadp-node2: starting datanode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node2.out

Hadp-node1: starting datanode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node1.out

Starting secondary namenodes [0.0.0.0]

0.0.0.0: starting secondarynamenode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-secondarynamenode-hadp-master.out

Starting yarn daemons

Starting resourcemanager, logging to / usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-resourcemanager-hadp-master.out

Hadp-node2: starting nodemanager, logging to / usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node2.out

Hadp-node1: starting nodemanager, logging to / usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node1.out

Description: start all Hadoop daemons. Including NameNode, DataNode, Secondary NameNode, Yarn, Yarn-root-nodemanager

1.2 turn off

[root@hadp-master sbin] #. / stop-all.sh

This script is Deprecated. Instead use stop-dfs.sh and stop-yarn.sh

Stopping namenodes on [hadp-master]

Hadp-master: stopping namenode

Hadp-node2: stopping datanode

Hadp-node1: stopping datanode

Stopping secondary namenodes [0.0.0.0]

0.0.0.0: stopping secondarynamenode

Stopping yarn daemons

Stopping resourcemanager

Hadp-node2: no nodemanager to stop

Hadp-node1: no nodemanager to stop

No proxyserver to stop

Description: close all Hadoop daemons. Including NameNode, DataNode, Secondary NameNode, Yarn, resourcemanager

Second, module encapsulation starts and shuts down

2.1 start

[root@hadp-master sbin] #. / start-dfs.sh

Starting namenodes on [hadp-master]

Hadp-master: starting namenode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-namenode-hadp-master.out

Hadp-node1: starting datanode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node1.out

Hadp-node2: starting datanode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node2.out

Starting secondary namenodes [0.0.0.0]

0.0.0.0: starting secondarynamenode, logging to / usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-secondarynamenode-hadp-master.out

Description: start the Hadoop HDFS daemon NameNode, DataNode, SecondaryNameNode

[root@hadp-master sbin] #. / start-yarn.sh

Starting yarn daemons

Starting resourcemanager, logging to / usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-resourcemanager-hadp-master.out

Hadp-node2: starting nodemanager, logging to / usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node2.out

Hadp-node1: starting nodemanager, logging to / usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node1.out

Description: start yarn daemons, yarn-root-resourcemanager, yarn-root-nodemanager

2.2 close

[root@hadp-master sbin] #. / stop-dfs.sh

Stopping namenodes on [hadp-master]

Hadp-master: stopping namenode

Hadp-node2: stopping datanode

Hadp-node1: stopping datanode

Stopping secondary namenodes [0.0.0.0]

0.0.0.0: stopping secondarynamenode

Description: stop the Hadoop HDFS daemon processes NameNode, DataNode, SecondaryNameNode

[root@hadp-master sbin] #. / stop-yarn.sh

Stopping yarn daemons

Stopping resourcemanager

Hadp-node1: no nodemanager to stop

Hadp-node2: no nodemanager to stop

No proxyserver to stop

Description: close yarn daemons, yarn-root-resourcemanager, nodemanager

Thank you for your reading, the above is the content of "how to shut down and start Hadoop 2.7.4". After the study of this article, I believe you have a deeper understanding of how to shut down and start Hadoop 2.7.4, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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