Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5147

Certain dfsadmin commands such as safemode do not interact with the active namenode in ha setup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0-beta
    • None
    • ha
    • None

    Description

      There are certain commands in dfsadmin return the status of the first namenode specified in the configs rather than interacting with the active namenode

      For example. Issue

      hdfs dfsadmin -safemode get

      and it will return the status of the first namenode in the configs rather than the active namenode.

      I think all dfsadmin commands should determine which is the active namenode do the operation on it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: