[
https://issues.apache.org/jira/browse/AMBARI-12488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637947#comment-14637947
]
Hudson commented on AMBARI-12488:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #3155 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3155/])
AMBARI-12488. RU - Use haadmin failover command instead of killing ZKFC during
upgrade/downgrade (alejandro) (afernandez:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cb0ef79427bf408a2fa800473e17815b9fec58ec)
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
* ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml
AMBARI-12488. RU - Use haadmin failover command instead of killing ZKFC during
upgrade/downgrade (alejandro) (afernandez:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0e01ff15e51073a6e2cbebf1f4e988cbacca5d6a)
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml
> RU - Use haadmin failover command instead of killing ZKFC during
> upgrade/downgrade
> ----------------------------------------------------------------------------------
>
> Key: AMBARI-12488
> URL: https://issues.apache.org/jira/browse/AMBARI-12488
> Project: Ambari
> Issue Type: Story
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Labels: rolling_upgrade
> Fix For: 2.1.1
>
> Attachments: AMBARI-12488.branch-2.1.2.additional.patch,
> AMBARI-12488.branch-2.1.2.patch, AMBARI-12488.branch-2.1.2.patch,
> AMBARI-12488.patch
>
>
> Currently RU orchestration during upgrade/downgrade kills ZKFC on the active
> NameNode to initiate a failover to standby. We should instead use the
> failover command.
> E.g.,
> {code}
> su hdfs -c 'hdfs haadmin -failover nn1 nn2'
> {code}
> Where nn1 is the current namenode if it if the active one, and nn2 is the
> remaining namenode.
> This is safer than killing zkfc on the active namenode because this command
> first tries to gracefully transition a NameNode to the Standby state. If this
> fails, the fencing methods (as configured by dfs.ha.fencing.methods) will be
> attempted until one succeeds. After this process the second NameNode will be
> transitioned to the Active state.
> It reduces long waits between ZKFC kill, failure kicking-in after a timeout,
> and then NN becoming active.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)