Surendra Singh Lilhore created HDFS-14719: ---------------------------------------------
Summary: Correct the safemode threshold value in BlockManagerSafeMode Key: HDFS-14719 URL: https://issues.apache.org/jira/browse/HDFS-14719 Project: Hadoop HDFS Issue Type: Bug Components: namenode Affects Versions: 3.1.1 Reporter: Surendra Singh Lilhore BlockManagerSafeMode is doing wrong parsing forĀ safemode threshold. It is storing float value in double, which will give different result some time. If we storeĀ "0.999f" value in double then it will be converted to "0.9990000128746033". {code:java} this.threshold = conf.getFloat(DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_KEY, DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_DEFAULT);{code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org