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

Eli Collins commented on HDFS-1161:
-----------------------------------

bq. The Unit test should ideally not hardcode the 15 second wait time (instead 
wait indefinitely). 

It needs to wait at least that long to get the necessary heart beats, but I 
think it is reasonable to put that check in a loop so that in the case when 
heartbeats are delayed in the test the test is robust to that.

bq. also, can we achieve the behaviour that Koji wants using the existing 
config parameters (instead of creating new config parameters)?

There are no existing configuration parameters for this, just a constant 
hard-coded to 1, so we need to add one.

> Make DN minimum valid volumes configurable
> ------------------------------------------
>
>                 Key: HDFS-1161
>                 URL: https://issues.apache.org/jira/browse/HDFS-1161
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: hdfs-1161-1.patch, hdfs-1161-2.patch, hdfs-1161-3.patch, 
> hdfs-1161-4.patch
>
>
> The minimum number of non-faulty volumes to keep the DN active is hard-coded 
> to 1.  It would be useful to allow users to configure this value so the DN 
> can be taken offline when eg half of its disks fail, otherwise it doesn't get 
> reported until it's down to it's final disk and suffering degraded 
> performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to