ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dustine Rene Bernasor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1643) NameNode fails to start
Date Fri, 15 Mar 2013 03:28:12 GMT

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

Dustine Rene Bernasor commented on AMBARI-1643:
-----------------------------------------------

Attached the latest ambari-agent.log. Didn't include ambari-agent.out since it is empty (file
size 0). 

Yup, Start/Stop buttons are grayed out even till now and the service status for HDFS continues
to blink.

Here's the result of the call:

"href" : "http://192.168.1.51:8080/api/v1/clusters/BigData/services/MAPREDUCE",
  "ServiceInfo" : {
    "cluster_name" : "BigData",
    "desired_configs" : {
      "mapred-site" : "version1",
      "global" : "version1",
      "core-site" : "version1"
    },
    "state" : "STARTED",
    "service_name" : "MAPREDUCE"
  },
  "components" : [
    {
      "href" : "http://192.168.1.51:8080/api/v1/clusters/BigData/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
      "ServiceComponentInfo" : {
        "cluster_name" : "BigData",
        "component_name" : "MAPREDUCE_CLIENT",
        "service_name" : "MAPREDUCE"
      }
    },
    {
      "href" : "http://192.168.1.51:8080/api/v1/clusters/BigData/services/MAPREDUCE/components/TASKTRACKER",
      "ServiceComponentInfo" : {
        "cluster_name" : "BigData",
        "component_name" : "TASKTRACKER",
        "service_name" : "MAPREDUCE"
      }
    },
    {
      "href" : "http://192.168.1.51:8080/api/v1/clusters/BigData/services/MAPREDUCE/components/JOBTRACKER",
      "ServiceComponentInfo" : {
        "cluster_name" : "BigData",
        "component_name" : "JOBTRACKER",
        "service_name" : "MAPREDUCE"
      }
    }
  ]

                
> 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