You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/12/27 21:22:29 UTC
[jira] Updated: (HADOOP-6377) ChecksumFileSystem.getContentSummary
throws NPE when directory contains inaccessible directories
[ https://issues.apache.org/jira/browse/HADOOP-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HADOOP-6377:
--------------------------------
Description: When getContentSummary is called on a path that contains an unreadable directory, it throws NPE, since RawLocalFileSystem.listStatus(Path) returns null when File.list() returns null. (was: There seems to be some inconsistent usage of "null" vs empty arrays in FileSystem that causes NPEs trying to getContentSummary of a path directly within the root.)
Summary: ChecksumFileSystem.getContentSummary throws NPE when directory contains inaccessible directories (was: ChecksumFileSystem.getContentSummary throws NPE on /foo)
> ChecksumFileSystem.getContentSummary throws NPE when directory contains inaccessible directories
> ------------------------------------------------------------------------------------------------
>
> Key: HADOOP-6377
> URL: https://issues.apache.org/jira/browse/HADOOP-6377
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.21.0, 0.22.0
> Reporter: Todd Lipcon
>
> When getContentSummary is called on a path that contains an unreadable directory, it throws NPE, since RawLocalFileSystem.listStatus(Path) returns null when File.list() returns null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.