[ 
https://issues.apache.org/jira/browse/HDFS-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bharath Mundlapudi updated HDFS-2023:
-------------------------------------

    Attachment: HDFS-2023-1.patch

Attaching a patch for this issue.

> Backport of NPE for File.list and File.listFiles
> ------------------------------------------------
>
>                 Key: HDFS-2023
>                 URL: https://issues.apache.org/jira/browse/HDFS-2023
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.20.205.0
>            Reporter: Bharath Mundlapudi
>            Assignee: Bharath Mundlapudi
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2023-1.patch
>
>
> Since we have multiple Jira's in trunk for common and hdfs, I am creating 
> another jira for this issue. 
> This patch addresses the following:
> 1. Provides FileUtil API for list and listFiles which throws IOException for 
> null cases. 
> 2. Replaces most of the code where JDK file API with FileUtil API. 

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

Reply via email to