hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1550) NPE when listing a file with no location
Date Wed, 22 Dec 2010 08:06:02 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974105#action_12974105
] 

Hadoop QA commented on HDFS-1550:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12466751/nullLocatedBlocks.patch
  against trunk revision 1051669.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    -1 core tests.  The patch failed these core unit tests:
                  org.apache.hadoop.hdfs.server.namenode.TestStorageRestore

    -1 contrib tests.  The patch failed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HDFS-Build/40//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HDFS-Build/40//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HDFS-Build/40//console

This message is automatically generated.

> NPE when listing a file with no location
> ----------------------------------------
>
>                 Key: HDFS-1550
>                 URL: https://issues.apache.org/jira/browse/HDFS-1550
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: nullLocatedBlocks.patch
>
>
> Lines listed below will caused a NullPointerException in DFSUtil.locatedBlocks2Locations
(line 208) because EMPTY_BLOCK_LOCS  will return null when calling blocks.getLocatedBlocks()
> {noformat}
>    /** a default LocatedBlocks object, its content should not be changed */
>    private final static LocatedBlocks EMPTY_BLOCK_LOCS = new LocatedBlocks();
> {noformat}

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


Mime
View raw message