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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • namenode
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment