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

Hadoop start and stop script interpretation

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

Share

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

Start-all.sh starts all Hadoop daemons. Including NameNode, Secondary NameNode, DataNode, JobTracker, TaskTrack

Stop-all.sh stops all Hadoop daemons. Including NameNode, Secondary NameNode, DataNode, JobTracker, TaskTrack

Start-dfs.sh starts the Hadoop HDFS daemon NameNode, SecondaryNameNode, and DataNode

Stop-dfs.sh stops the Hadoop HDFS daemon NameNode, SecondaryNameNode, and DataNode

Hadoop-daemons.sh start namenode starts the NameNode daemon separately

Hadoop-daemons.sh stop namenode stops the NameNode daemon alone

Hadoop-daemons.sh start datanode starts the DataNode daemon separately

Hadoop-daemons.sh stop datanode stops the DataNode daemon alone

Hadoop-daemons.sh start secondarynamenode starts the SecondaryNameNode daemon separately

Hadoop-daemons.sh stop secondarynamenode stops the SecondaryNameNode daemon alone

Start-mapred.sh starts the Hadoop MapReduce daemon JobTracker and TaskTracker

Stop-mapred.sh stops the Hadoop MapReduce daemon JobTracker and TaskTracker

Hadoop-daemons.sh start jobtracker starts the JobTracker daemon separately

Hadoop-daemons.sh stop jobtracker stops the JobTracker daemon alone

Hadoop-daemons.sh start tasktracker starts the TaskTracker daemon separately

Hadoop-daemons.sh stop tasktracker starts the TaskTracker daemon separately

If the Hadoop cluster is started for the first time, you can use start-all.sh. The more common startup method is a daemon to start, the steps to start are as follows.

1. Start the daemon in the HDFS module of Hadoop

The daemons in HDFS also start in order, that is:

1) start the NameNode daemon

2) start the DataNode daemon

3) start the SecondaryNameNode daemon.

2. Start the daemon in the MapReduce module

The daemons of MapReduce are also started sequentially, that is:

1) start the JobTracker daemon

2) start the TaskTracker daemon.

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