You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Ishan Bhatt (JIRA)" <ji...@apache.org> on 2018/10/15 19:06:00 UTC

[jira] [Resolved] (AMBARI-24779) Move Namenode operation fails as it tries to install and start ZKFailoverController on non-HA cluster

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

Ishan Bhatt resolved AMBARI-24779.
----------------------------------
    Resolution: Fixed

> Move Namenode operation fails as it tries to install and start ZKFailoverController on non-HA cluster	
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-24779
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24779
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>            Reporter: Ishan Bhatt
>            Assignee: Ishan Bhatt
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.3
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Error at final screen during Service start for ZKFailoverController. This is unexpected as the cluster is non-HA and ZKFailoverController component should not be attempted for a start at all on the new NN host
> {code:java}
> 2018-10-11 14:22:52,136 - Execute['ambari-sudo.sh su cstm-hdfs -l -s /bin/bash -c 'ulimit -c unlimited ;  /usr/hdp/3.0.3.0-74/hadoop/bin/hdfs --config /usr/hdp/3.0.3.0-74/hadoop/conf --daemon start zkfc''] {'environment': {'HADOOP_LIBEXEC_DIR': '/usr/hdp/3.0.3.0-74/hadoop/libexec'}, 'not_if': 'ambari-sudo.sh  -H -E test -f /var/run/hadoop/cstm-hdfs/hadoop-cstm-hdfs-zkfc.pid && ambari-sudo.sh  -H -E pgrep -F /var/run/hadoop/cstm-hdfs/hadoop-cstm-hdfs-zkfc.pid'}
> 2018-10-11 14:22:54,336 - Execute['find /grid/0/log/hdfs/cstm-hdfs -maxdepth 1 -type f -name '*' -exec echo '==> {} <==' \; -exec tail -n 40 {} \;'] {'logoutput': True, 'ignore_failures': True, 'user': 'cstm-hdfs'}
> ######## Hortonworks #############
> This is MOTD message, added for testing in qe infra
> ==> /grid/0/log/hdfs/cstm-hdfs/hadoop-cstm-hdfs-zkfc-ctr-e138-1518143905142-517699-01-000003.hwx.site.out <==
> Exception in thread "main" org.apache.hadoop.HadoopIllegalArgumentException: HA is not enabled for this namenode.
> 	at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.create(DFSZKFailoverController.java:134)
> 	at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:192)
> core file size          (blocks, -c) unlimited
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)