[ https://issues.apache.org/jira/browse/HDFS-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042519#comment-13042519 ]
Bharath Mundlapudi commented on HDFS-2023: ------------------------------------------ Hi Eli, I wanted to have this change in the same Jira as 0.23 but those were reviewed and committed. So I created this one. Also, i could have done multiple patches in those same Jiras but this will be not good for reviwers. On the positive side, we can have this single Jira for all 0.20.*. But i agree with you on having same Jira for backporting. > 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