In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.