You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Andras Bokor (Jira)" <ji...@apache.org> on 2020/01/08 15:24:00 UTC

[jira] [Resolved] (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 ]

Andras Bokor resolved HADOOP-6377.
----------------------------------
    Resolution: Duplicate

> 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
>            Assignee: Andras Bokor
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org