You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2016/11/02 19:50:58 UTC

[jira] [Created] (HDFS-11095) BlockManagerSafeMode should respect extension period default config value (30s)

Mingliang Liu created HDFS-11095:
------------------------------------

             Summary: BlockManagerSafeMode should respect extension period default config value (30s)
                 Key: HDFS-11095
                 URL: https://issues.apache.org/jira/browse/HDFS-11095
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
            Reporter: Mingliang Liu
            Assignee: Mingliang Liu


{code:title=BlockManagerSafeMode.java}
    this.extension = conf.getInt(DFS_NAMENODE_SAFEMODE_EXTENSION_KEY, 0);
{code}
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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org