You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/05/25 18:09:13 UTC

[jira] [Commented] (HDFS-10459) getTurnOffTip computes needed block incorrectly for threshold < 1

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

Hadoop QA commented on HDFS-10459:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s {color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 4s {color} | {color:red} HDFS-10459 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12806172/HDFS-10459-b2.7.002.patch |
| JIRA Issue | HDFS-10459 |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/15564/console |
| Powered by | Apache Yetus 0.2.0   http://yetus.apache.org |


This message was automatically generated.



> 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-b2.7.002.patch, 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org