[ 
https://issues.apache.org/jira/browse/HDFS-10459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Badger updated HDFS-10459:
-------------------------------
    Attachment: HDFS-10459.002.patch

Rebasing to trunk. 

> getTurnOffTip computes needed block incorrectly for threshold < 1
> -----------------------------------------------------------------
>
>                 Key: HDFS-10459
>                 URL: https://issues.apache.org/jira/browse/HDFS-10459
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: HDFS-10459.001.patch, HDFS-10459.002.patch
>
>
> The computation works on threshold = 1, but not on threshold < 1. I propose 
> making blockThreshold equal to the ceiling of total*threshold. Since we need 
> to be >= blockThreshold to get out of safe mode, >14.9 is the same as =15, 
> since blocks work in integer values. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to