Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3507

DFS#isInSafeMode needs to execute only on Active NameNode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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.

      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

          Vinayakumar B created issue -
          Vinayakumar B made changes -
          Field Original Value New Value
          Summary DFS#isInSafeNode needs to execute only on Active NameNode DFS#isInSafeMode needs to execute only on Active NameNode
          Vinayakumar B made changes -
          Assignee Vinay [ vinayrpet ]
          Vinayakumar B made changes -
          Attachment HDFS-3507.patch [ 12532364 ]
          Vinayakumar B made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 2.0.1-alpha, 3.0.0 [ 12321440, 12320356 ]
          Vinayakumar B made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Vinayakumar B made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Vinayakumar B made changes -
          Attachment HDFS-3507.patch [ 12541223 ]
          Suresh Srinivas made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Arun C Murthy made changes -
          Affects Version/s 2.0.0-alpha [ 12320353 ]
          Affects Version/s 2.1.0-alpha [ 12321440 ]
          Vinayakumar B made changes -
          Attachment HDFS-3507.patch [ 12553636 ]
          Vinayakumar B made changes -
          Attachment HDFS-3507.patch [ 12553636 ]
          Vinayakumar B made changes -
          Attachment HDFS-3507.patch [ 12553638 ]
          Vinayakumar B made changes -
          Attachment HDFS-3507.patch [ 12553782 ]
          Aaron T. Myers made changes -
          Affects Version/s 2.0.2-alpha [ 12322472 ]
          Affects Version/s 2.0.0-alpha [ 12320353 ]
          Affects Version/s 3.0.0 [ 12320356 ]
          Target Version/s 3.0.0 [ 12320356 ] 2.0.3-alpha [ 12323274 ]
          Aaron T. Myers made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.3-alpha [ 12323274 ]
          Resolution Fixed [ 1 ]
          Anoop Sam John made changes -
          Link This issue relates to HBASE-7715 [ HBASE-7715 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Vinayakumar B made changes -
          Link This issue relates to HDFS-5147 [ HDFS-5147 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development