[ 
https://issues.apache.org/jira/browse/AMBARI-9125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaly Brodetskyi updated AMBARI-9125:
--------------------------------------
    Attachment: AMBARI-9125.patch

> Secondary Namenode fails when trying to create multiple SecondaryNameNode 
> Checkpoint directories via Ambari
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-9125
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9125
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 1.7.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9125.patch
>
>
> PROBLEM:
> If we specify a comma separated list of directories for SecondaryNameNode 
> Checkpoint directories via Ambari, the directories are not getting created 
> and Secondary Nemnode fails to start. Below error message is seen in the 
> Secondary Namenode logs:
> 2015-01-05 20:24:55,077 FATAL namenode.SecondaryNameNode 
> (SecondaryNameNode.java:main(673)) - Failed to start secondary namenode
> org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory 
> /hadoop/hdfs/namesecondary2 is in an inconsistent state: checkpoint directory 
> does not exist or is not accessible.
> at 
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.recoverCreate(SecondaryNameNode.java:967)
> at 
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:243)
> at 
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:192)
> at 
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:671)
> 2015-01-05 20:24:55,082 INFO util.ExitUtil (ExitUtil.java:terminate(124)) - 
> Exiting with status 1
> 2015-01-05 20:24:55,085 INFO namenode.SecondaryNameNode 
> (StringUtils.java:run(659)) - SHUTDOWN_MSG:
> /************************************************************
> SHUTDOWN_MSG: Shutting down SecondaryNameNode at hdp22.local.com/192.168.56.80
> ************************************************************/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to