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

DFS#isInSafeMode needs to execute only on Active NameNode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: ha
    • Labels:
      None

      Description

      Currently DFS#isInSafeMode is not Checking for the NN state. It can be executed on any of the NNs.

      But HBase will use this API to check for the NN safemode before starting up its service.

      If first NN configured is in standby then DFS#isInSafeMode will check standby NNs safemode but hbase want state of Active NN.

        Attachments

        1. HDFS-3507.patch
          28 kB
          Vinayakumar B
        2. HDFS-3507.patch
          28 kB
          Vinayakumar B
        3. HDFS-3507.patch
          26 kB
          Vinayakumar B
        4. HDFS-3507.patch
          26 kB
          Vinayakumar B

          Issue Links

            Activity

              People

              • Assignee:
                vinayrpet Vinayakumar B
                Reporter:
                vinayrpet Vinayakumar B
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: