This topic contains 1 reply, has 1 voice, and was last updated by  dfbdteam3 1 year, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5105

    dfbdteam3
    Moderator

    What are the Different ways to restart NameNode in Hadoop?
    What is best way to restart all the daemons in Hadoop?

    #5107

    dfbdteam3
    Moderator

    To start NameNode in Hadoop –

    First stop

    $HADOOP_HOME/bin/stop.dfs.sh
    $HADOOP_HOME/bin/hadoop-daemon.sh stop namenode

    Then start again

    $HADOOP_HOME/bin/start.dfs.sh
    $HADOOP_HOME/bin/hadoop-daemon.sh start namenode

    To restart all daemons use the following command which deprecated

    $HADOOP_HOME/bin/stop.all.sh
    $HADOOP_HOME/bin/start.all.sh
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.