hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6377) ChecksumFileSystem.getContentSummary throws NPE on /foo
Date Mon, 16 Nov 2009 23:09:40 GMT

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

Todd Lipcon commented on HADOOP-6377:

With FsShell modified to print stack traces:

todd@todd-laptop:~/git/hadoop-common$ ./bin/hadoop fs -du /tmp/
Found 29 items
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1060)
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1083)
        at org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:473)
        at org.apache.hadoop.fs.FileSystem.getContentSummary(FileSystem.java:1024)
        at org.apache.hadoop.fs.FsShell.du(FsShell.java:731)
        at org.apache.hadoop.fs.FsShell.run(FsShell.java:1894)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.fs.FsShell.main(FsShell.java:1973)

This occurs on trunk and branch-0.21, but not branch-0.20

> ChecksumFileSystem.getContentSummary throws NPE on /foo
> -------------------------------------------------------
>                 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
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message