[
https://issues.apache.org/jira/browse/HDFS-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872384#action_12872384
]
Eli Collins commented on HDFS-1161:
-----------------------------------
bq. current code decides the DN should shutdown, while your patch decides to
keep DN running.
The behavior is actually the reverse, currently the code will tolerate failures
as long as there is one volume still working, my change makes that number
configurable and restores the old behavior which was that any failure causes
the datanode to stop running.
> 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, hdfs-1161-5.patch, hdfs-1161-6.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.