[ 
https://issues.apache.org/jira/browse/HADOOP-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794733#action_12794733
 ] 

Todd Lipcon commented on HADOOP-6377:
-------------------------------------

Not sure what the correct recourse is here. Hadoop 0.20 reports the unreadable 
directories as 0 bytes with no warnings. Linux du prints a warning for each and 
does not include them in the stdout output.

> 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.

Reply via email to