Description
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".
this.threshold = conf.getFloat(DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_KEY,
DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_DEFAULT);