ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlun...@apache.org
Subject ambari git commit: AMBARI-18167: RU: Kafka brokers restart was stopped during downgrade cluster (Mugdha Varadkar via jluniya)
Date Tue, 16 Aug 2016 21:19:37 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 d19f69c5b -> 473733c4e


AMBARI-18167: RU: Kafka brokers restart was stopped during downgrade cluster (Mugdha Varadkar
via jluniya)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/473733c4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/473733c4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/473733c4

Branch: refs/heads/branch-2.4
Commit: 473733c4e73a5328f75798936e8bdf89096d03db
Parents: d19f69c
Author: Jayush Luniya <jluniya@hortonworks.com>
Authored: Tue Aug 16 14:18:13 2016 -0700
Committer: Jayush Luniya <jluniya@hortonworks.com>
Committed: Tue Aug 16 14:19:29 2016 -0700

----------------------------------------------------------------------
 .../resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml  | 13 +------------
 .../resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml  |  1 +
 2 files changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/473733c4/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml
index bc8e9f9..e772068 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml
@@ -536,6 +536,7 @@
 
     <service name="KAFKA">
       <component name="KAFKA_BROKER">
+        <pre-downgrade /> <!--  no-op to prevent config changes on downgrade -->
         <pre-upgrade>
           <task xsi:type="configure" id ="hdp_2_4_0_0_kafka_broker_deprecate_port"/>
           <task xsi:type="configure" id="hdp_2_5_0_0_remove_ranger_kafka_audit_db" />
@@ -967,18 +968,6 @@
       </component>
     </service>
 
-    <service name="KAFKA">
-      <component name="KAFKA_BROKER">
-        <pre-upgrade>
-          <task xsi:type="configure" id="hdp_2_5_0_0_remove_ranger_kafka_audit_db" />
-        </pre-upgrade>
-
-        <upgrade>
-          <task xsi:type="restart-task" />
-        </upgrade>
-      </component>
-    </service>
-
     <service name="KNOX">
       <component name="KNOX_GATEWAY">
         <pre-downgrade /> <!--  no-op to prevent config changes on downgrade -->

http://git-wip-us.apache.org/repos/asf/ambari/blob/473733c4/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml
index e886301..f5d7b18 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml
@@ -531,6 +531,7 @@
 
     <service name="KAFKA">
       <component name="KAFKA_BROKER">
+        <pre-downgrade /> <!--  no-op to prevent config changes on downgrade -->
         <pre-upgrade>
           <task xsi:type="configure" id="hdp_2_5_0_0_remove_ranger_kafka_audit_db" />
         </pre-upgrade>


Mime
View raw message