0 votes
in Hadoop by
What are the different commands used to startup and shutdown Hadoop daemons?

1 Answer

0 votes
by

What are the different commands used to startup and shutdown Hadoop daemons?

• To start all the hadoop daemons use: ./sbin/start-all.sh.

Then, to stop all the Hadoop daemons use:./sbin/stop-all.sh

• You can also start all the dfs daemons together using ./sbin/start-dfs.sh. Yarn daemons together using ./sbin/start-yarn.sh. MR Job history server using /sbin/mr-jobhistory-daemon.sh start history server. Then, to stop these daemons we can use

./sbin/stop-dfs.sh

./sbin/stop-yarn.sh

/sbin/mr-jobhistory-daemon.sh stop historyserver.

• Finally, the last way is to start all the daemons individually. Then, stop them individually:

./sbin/hadoop-daemon.sh start namenode

./sbin/hadoop-daemon.sh start datanode

./sbin/yarn-daemon.sh start resourcemanager

./sbin/yarn-daemon.sh start nodemanager

./sbin/mr-jobhistory-daemon.sh start historyserver

Related questions

0 votes
asked May 13, 2020 in Oracle by AdilsonLima
+1 vote
asked Oct 29, 2022 in Hadoop by SakshiSharma
...