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

Konstantin Boudnik commented on HADOOP-7342:
--------------------------------------------

Matt, according to [Jacob's 
comment|https://issues.apache.org/jira/browse/HDFS-1934?focusedCommentId=13039888&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13039888]
 this API chance has been already discussed and I have missed that part. So, 
taking it back: let's go with this (although it seems unusual ;)

> Add an utility API in FileUtil for JDK File.list
> ------------------------------------------------
>
>                 Key: HADOOP-7342
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7342
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Bharath Mundlapudi
>            Assignee: Bharath Mundlapudi
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7342-1.patch
>
>
> Java File.list API can return null when disk is bad or directory is not a 
> directory. This utility API in FileUtil will throw an exception when this 
> happens 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