incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1643) NameNode fails to start
Date Fri, 15 Mar 2013 05:20:13 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603149#comment-13603149
] 

Mahadev konar commented on AMBARI-1643:
---------------------------------------

Now delete this directory on the namenode:

/var/run/hadoop/hdfs/namenode/formatted

and use the API that Yusaku provide above to start the namenode.
                
> NameNode fails to start
> -----------------------
>
>                 Key: AMBARI-1643
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1643
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Dustine Rene Bernasor
>         Attachments: ambari-agent.log, ambari+hadoop.tar.gz
>
>
> I was installing Ambari 1.2.1. When I reach step 9, after the services 
> are installed,
> NameNode cannot be started.
> The ff. exception appeared in the log
> 2013-03-14 10:58:00,426 ERROR
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem
> initialization failed.
> java.io.IOException: NameNode is not formatted.
> 	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:330)
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:100)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:411)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:379)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:287)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:548)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1431)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1440)
> 2013-03-14 10:58:00,427 ERROR
> org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException:
> NameNode is not formatted.
> 	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:330)
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:100)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:411)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:379)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:287)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:548)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1431)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1440)
> 2013-03-14 10:58:00,428 INFO
> org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at Crawler51.localdomain.com/192.168.3.51
> ************************************************************/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message