[ 
https://issues.apache.org/jira/browse/HDFS-14719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16907876#comment-16907876
 ] 

Hudson commented on HDFS-14719:
-------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17129 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/17129/])
HDFS-14719. Correct the safemode threshold value in (surendralilhore: rev 
34681643e92774da6f74826c468ecec4dcbedf5a)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerSafeMode.java


> 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
>            Assignee: hemanthboyina
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: HDFS-14719.002.patch, HDFS-14719.patch
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to