[
https://issues.apache.org/jira/browse/HADOOP-7327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060683#comment-13060683
]
Hudson commented on HADOOP-7327:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #675 (See
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/675/])
HADOOP-7327. FileSystem.listStatus() throws NullPointerException instead of
IOException upon access permission failure. Contributed by Matt Foley.
mattf : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1143491
Files :
* /hadoop/common/trunk/common/CHANGES.txt
* /hadoop/common/trunk/common/src/java/org/apache/hadoop/fs/FileSystem.java
*
/hadoop/common/trunk/common/src/test/core/org/apache/hadoop/fs/FSMainOperationsBaseTest.java
> FileSystem.listStatus() throws NullPointerException instead of IOException
> upon access permission failure
> ---------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-7327
> URL: https://issues.apache.org/jira/browse/HADOOP-7327
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.22.0, 0.23.0
> Reporter: Matt Foley
> Assignee: Matt Foley
> Priority: Minor
> Attachments: hadoop-7327-1.patch, hadoop-7327-2.patch
>
>
> Many processes that call listStatus() expect to handle IOException, but
> instead are getting runtime error NullPointerException, if the directory
> being scanned is visible but no-access to the running user id. For example,
> if directory foo is drwxr-xr-x, and subdirectory foo/bar is drwx------, then
> trying to do listStatus(Path(foo/bar)) will cause a NullPointerException.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira