[ https://issues.apache.org/jira/browse/HDFS-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042604#comment-13042604 ]
Eli Collins commented on HDFS-2023: ----------------------------------- I don't feel strongly. It's easier for users if the same issue is represented by a single jira across versions (you'll see a patch for different branches on the same jira) but if the content is different (not the patch but different goal/change) then a new jira makes sense. > 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