[
https://issues.apache.org/jira/browse/HDFS-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975324#comment-13975324
]
Arpit Agarwal commented on HDFS-6245:
-------------------------------------
It is hard to simulate this IOError from getCanonicalPath using unit tests. The
other option is mock based tests but that would be convoluted and probably
require some refactoring.
> datanode fails to start with a bad disk even when failed volumes is set
> -----------------------------------------------------------------------
>
> Key: HDFS-6245
> URL: https://issues.apache.org/jira/browse/HDFS-6245
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Arpit Gupta
> Assignee: Arpit Agarwal
> Fix For: 3.0.0, 2.4.1
>
> Attachments: HDFS-6245.01.patch
>
>
> Data node startup failed even when failed volumes was set. Had to remove the
> bad disk from the config to get it to boot.
--
This message was sent by Atlassian JIRA
(v6.2#6252)