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

Eli Collins commented on HDFS-2019:
-----------------------------------

Previously FSdataset#recoverDetachedBlocks just returns if the detach directory 
is empty, now it throws an IOException, why is that? Is it always the case that 
the detach directory be non-empty?

> Fix all the places where Java method File.list is used with FileUtil.list API
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-2019
>                 URL: https://issues.apache.org/jira/browse/HDFS-2019
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.23.0
>            Reporter: Bharath Mundlapudi
>            Assignee: Bharath Mundlapudi
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: HDFS-2019-1.patch
>
>
> This new method FileUtil.list will throw an exception when disk is bad rather 
> than returning null. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to