You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Bharath Mundlapudi (JIRA)" <ji...@apache.org> on 2011/05/31 21:19:48 UTC

[jira] [Created] (HADOOP-7342) Add an utility API in FileUtil for JDK File.list

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


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