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

Hadoop QA commented on AMBARI-10067:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12704502/AMBARI-10067.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The test build failed in ambari-server 

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/2026//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/2026//console

This message is automatically generated.

> ZKFailoverController failed on restart
> --------------------------------------
>
>                 Key: AMBARI-10067
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10067
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-10067.patch
>
>
> Issue Summary:
> 1. When Namenode HA is enabled and "automatic failover" is selected, the 
> "hdfs zkfc -formatZK" command is used to create a znode in ZooKeeper inside 
> of which the automatic failover system stores its data.
> 2. When Namenode HA is enabled through the wizard, the user is asked to 
> manually run this command. 
> 3. When Namenode HA cluster is deployed using HA blueprint, the agent script 
> has been executing "hdfs zkfc -formatZK -force -nonInteractive" to 
> auto-format the znode. This means that everytime a ZKFC starts, we end up 
> formatting the znode used to maintain the failover state.
> Fix:
> 1. Changing the command to "hdfs zkfc -formatZK -nonInteractive" so that the 
> failover state is not reformatted and handling the case when the command 
> returns a status=2 to indicate that the znode already exists and hence 
> skipping formatting it.



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

Reply via email to