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
• 1,980 points
693 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 12,270 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

The file exists before processing with hadoop command

Took session and it got resolved. READ MORE

answered Dec 18, 2017 in Big Data Hadoop by Sudhir
• 1,610 points
37 views
0 votes
10 answers
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
• 9,070 points
190 views
0 votes
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
• 9,070 points
1,670 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
8,109 views
0 votes
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,260 points
569 views
0 votes
1 answer
0 votes
1 answer

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

start-dfs.sh script, only starts the HDFS daemons. ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 12,270 points
443 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.