Home Forums Hortonworks Sandbox second namenode

This topic contains 1 reply, has 2 voices, and was last updated by  Yi Zhang 11 months, 2 weeks ago.

  • Creator
    Topic
  • #25509

    Bill Whitley
    Member

    How do I startup a second sandbox vm with namenode only running? I am testing manual failover.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #25518

    Yi Zhang
    Moderator

    Hi Bill,

    Do you mean start a namenode daemon or a secondarynamnode daemon on the second sandbox? Respectively,

    su -l hdfs -c “/usr/lib/hadoop/bin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode”

    su -l hdfs -c “/usr/lib/hadoop/bin/hadoop-daemon.sh –config /etc/hadoop/conf start secondarynamenode”

    Remember to change conf files.

    Thanks,
    Yi

    Collapse
Viewing 1 replies (of 1 total)