hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2934) NPE while loading FSImage
Date Wed, 05 Mar 2008 00:43:41 GMT

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

Hadoop QA commented on HADOOP-2934:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12377112/NPE_FSImage.patch
against trunk revision 619744.

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

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

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

    javac +1.  The applied patch does not generate any new javac compiler warnings.

    release audit +1.  The applied patch does not generate any new release audit warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1893/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1893/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1893/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1893/console

This message is automatically generated.

> NPE while loading  FSImage
> --------------------------
>
>                 Key: HADOOP-2934
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2934
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: dhruba borthakur
>         Attachments: NPE_FSImage.patch, NPE_FSImage.patch, NPE_FSImage.patch
>
>
> André Martin reported on core-user mailing list :
> {noformat} 
> [...]
> 2008-03-02 01:25:29,887 ERROR org.apache.hadoop.dfs.NameNode: java.lang.NullPointerException
>     at org.apache.hadoop.dfs.FSImage.readINodeUnderConstruction(FSImage.java:950)
>     at org.apache.hadoop.dfs.FSImage.loadFilesUnderConstruction(FSImage.java:919)
>     at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:749)
>     at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:634)
>     at org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:223)
>     at org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:79)
>     at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:261)
>     at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:242)
>     at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
>     at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:176)
>     at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:162)
>     at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:851)
>     at org.apache.hadoop.dfs.NameNode.main(NameNode.java:860)
> {noformat}
> Block object should be allocated before calling {{readFields()}} in FSImage.java : {code}
> BlockInfo[] blocks = new BlockInfo[numBlocks];
> for (int i = 0; i < numBlocks; i++) {
>   blocks[i].readFields(in);
> }
> {code}

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