Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to restart NameNode or all the daemons in Hadoop?

How to restart NameNode or all the daemons in Hadoop?

New Contributor

In Hadoop how to restart NameNode or all the daemons?

2 REPLIES 2
Highlighted

Re: How to restart NameNode or all the daemons in Hadoop?

New Contributor

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.