hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3509) FSNamesystem.close() throws NullPointerException
Date Fri, 06 Jun 2008 23:04:45 GMT

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

Konstantin Shvachko commented on HADOOP-3509:
---------------------------------------------

+1
This is good. I like IOUtils.close().

> FSNamesystem.close() throws NullPointerException
> ------------------------------------------------
>
>                 Key: HADOOP-3509
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3509
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3509_20080606.patch, 3509_20080606b.patch
>
>
> During NameNode startup, if there is an exception thrown before FSNamesystem.dir is created,
we will get a NullPointerException.
> {noformat}
> 2008-06-06 12:07:21,203 ERROR org.apache.hadoop.dfs.NameNode: java.lang.NullPointerException
> 	at org.apache.hadoop.dfs.FSNamesystem.close(FSNamesystem.java:465)
> 	at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:253)
> 	at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:148)
> 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193)
> 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179)
> 	at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:822)
> 	at org.apache.hadoop.dfs.NameNode.main(NameNode.java:831)
> {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