0 votes
in Hadoop by
How to restart NameNode or all the daemons in Hadoop?

1 Answer

0 votes
by

How to restart NameNode or all the daemons in Hadoop?

By following methods we can restart the NameNode:

You can stop the NameNode individually using /sbin/hadoop-daemon.sh stop namenode command. Then start the NameNode using /sbin/hadoop-daemon.sh start namenode.

Use /sbin/stop-all.sh and the use /sbin/start-all.sh, command which will stop all the demons first. Then start all the daemons.

The sbin directory inside the Hadoop directory store these script files.

Related questions

+1 vote
asked Oct 29, 2022 in Hadoop by SakshiSharma
0 votes
asked Feb 5, 2020 in Big Data | Hadoop by SakshiSharma
...