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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org