ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13615) Express Upgrade: ZKFC Cannot Stop Because Newer Configurations Don't Exist
Date Thu, 29 Oct 2015 16:47:27 GMT

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

Hudson commented on AMBARI-13615:
---------------------------------

ABORTED: Integrated in Ambari-branch-2.1 #766 (See [https://builds.apache.org/job/Ambari-branch-2.1/766/])
AMBARI-13615 - Express Upgrade: ZKFC Cannot Stop Because Newer (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6f3519aa6c0f023e61791742cea8256a094468e0])
* ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
* ambari-common/src/main/python/resource_management/libraries/functions/hdp_select.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_nfsgateway.py
* ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py
* ambari-server/src/test/python/stacks/utils/RMFTestCase.py
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py
* ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml


> Express Upgrade: ZKFC Cannot Stop Because Newer Configurations Don't Exist
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-13615
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13615
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.3
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.1.3
>
>
> During an express upgrade, components are stopped ahead of time. Before {{restart}} is
invoked, the following task runs updating all hdp pointers:
> {code}
>     <group xsi:type="cluster" name="RESTORE_CONFIG_DIRS" title="Restore Configuration
Directories">
>       <direction>DOWNGRADE</direction>
>       <execute-stage title="Restore configuration directories and remove HDP 2.3 symlinks">
>         <task xsi:type="execute">
>           <script>scripts/ru_set_all.py</script>
>           <function>unlink_all_configs</function>
>         </task>
>       </execute-stage>
>     </group>
> {code}
> After this, all components begin to restart. However, restarting involves a {{stop}}
and a {{start}} command. The components are already stopped and most of them have logic that
says if the PID says it's not running, then don't stop it twice.
> However, some components like ZKFC and HBase Master don't have this logic and try stopping
it regardless. The problem arises when a JVM is spun up to stop the process:
> Initially it was though that moving the {{hdp-select set all}} to after the {{restart}}
groups would solve the problem. As it turns out, moving the {{hdp-select set all}} doesn't
work since the {{params.py}} it always taking the new version and building conf/lib/bin directories
with it. Additionally, some components have upgrade bugs which calling {{hdp-select set all}}
corrects. 



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

Mime
View raw message