Best way of starting & stopping the Hadoop daemons with command line

0 votes

I found multiple ways of starting & stopping various daemons of Hadoop but what is the best way out of them? Can anyone help me in understanding?

Apr 15, 2018 in Big Data Hadoop by coldcode
• 2,050 points
4,243 views

1 answer to this question.

0 votes

First way is to use start-all.sh & stop-all.sh script: You can start/stop all the daemons at once

Second way is start-dfs.sh, stop-dfs.sh & start-yarn.sh, stop-yarn.sh : Here dfs daemons are started/stopped separately and yarn daemons are strated & stopped separately.

Third way is hadoop-daemon.sh start/stop namenode/datanode & yarn-deamon.sh start/stop resourcemanager/nodemanager : This command starts/stops each daemon individually. This is beneficial when you have to restart sing daemon without disturbing other daemons.

answered Apr 15, 2018 by Shubham
• 13,450 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

I have to ingest in hadoop cluster large number of files for testing , what is the best way to do it?

Hi@sonali, It depends on what kind of testing ...READ MORE

answered Jul 7 in Big Data Hadoop by MD
• 57,560 points
156 views
0 votes
1 answer

How to see the report of Hadoop Cluster from command line?

Hi@akhtar, You can see the report of Hadoop Cluster ...READ MORE

answered 6 days ago in Big Data Hadoop by MD
• 57,560 points
13 views
0 votes
1 answer

Apache Hadoop Yarn example program

You can go to this location $Yarn_Home/share/hadoop/mapreduce . You'll ...READ MORE

answered Apr 4, 2018 in Big Data Hadoop by nitinrawat895
• 10,950 points
359 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
5,907 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
37,406 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
2,208 views
0 votes
1 answer
0 votes
2 answers

start-dfs.sh command is not starting Hadoop JobTracker & TaskTracker

On which version of hadoop do you ...READ MORE

answered Jul 24, 2019 in Big Data Hadoop by Lokesh Singh
1,461 views