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

BlockManagerSafeMode should respect extension period default config value (30s)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: namenode
    • Labels:
      None

      Description

      BlockManagerSafeMode.java
          this.extension = conf.getInt(DFS_NAMENODE_SAFEMODE_EXTENSION_KEY, 0);
      

      Though the default value (30s) is loaded from hdfs-default.xml, we should also respect this in the code by using DFSConfigKeys#DFS_NAMENODE_SAFEMODE_EXTENSION_DEFAULT.

        Attachments

        1. HDFS-11095.001.patch
          5 kB
          Mingliang Liu
        2. HDFS-11095.000.patch
          4 kB
          Mingliang Liu

          Issue Links

            Activity

              People

              • Assignee:
                liuml07 Mingliang Liu
                Reporter:
                liuml07 Mingliang Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: