hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-10459) getTurnOffTip computes needed block incorrectly for threshold = 1
Date Wed, 25 May 2016 16:10:12 GMT

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

Eric Badger reassigned HDFS-10459:
----------------------------------

    Assignee: Eric Badger

> 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: 0.22.0, 0.23.0
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: HDFS-10459.001.patch
>
>
> The fix added in HDFS-2002 only works in cases where threshold < 1, but not when threshold
= 1. There is a '+1' added to the computation because of this assumption. I propose that instead
of adding a '+1', we just set blockThreshold to be the ceiling of blocksTotal*threshold. Since
we need to be >= blockThreshold to get out of safe mode, this will work. >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


Mime
View raw message