Repository: ambari
Updated Branches:
  refs/heads/trunk 6ae30ad63 -> 9b54cbec4


AMBARI-17797.  HiveServer port config change is missing in HDP-2.4 Upgrade Pack 
(ncole)


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

Branch: refs/heads/trunk
Commit: 9b54cbec4994d83cdefc63bf792cdb1a98aa5de4
Parents: 6ae30ad
Author: Nate Cole <[email protected]>
Authored: Tue Jul 19 15:41:48 2016 -0400
Committer: Nate Cole <[email protected]>
Committed: Tue Jul 19 17:03:44 2016 -0400

----------------------------------------------------------------------
 .../stacks/HDP/2.4/upgrades/upgrade-2.5.xml         | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9b54cbec/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 49ff6da..839cf02 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
@@ -787,8 +787,24 @@
       <component name="HIVE_SERVER">
         <pre-upgrade>
           <task xsi:type="configure" 
id="hdp_2_5_0_0_remove_ranger_hive_audit_db" />
+
+          <task xsi:type="manual">
+            <summary>HiveServer Port Availability</summary>
+            <message>Please note that the HiveServer port will now change to 
10010 if Hive is using a binary transfer mode or 10011 if Hive is using an http 
transport mode. You can use "netstat -anp | grep 1001[01]" to determine if the 
port is available on each of following HiveServer host(s): {{hosts.all}}. If 
the port is not available, the process using it must be terminated.</message>
+          </task>
+
+          <task xsi:type="configure" 
id="hdp_2_4_0_0_hive_server_set_transport_mode"/>
         </pre-upgrade>
 
+        <pre-downgrade>
+          <task xsi:type="manual">
+            <summary>HiveServer Port Availability</summary>
+            <message>Please note that the HiveServer port will now change to 
10000 if Hive is using a binary transfer mode or 10001 if Hive is using an http 
transport mode. You can use "netstat -anp | grep 1000[01]" to determine if the 
port is available on each of following HiveServer host(s): {{hosts.all}}. If 
the port is not available, the process using it must be terminated.</message>
+          </task>
+
+          <task xsi:type="configure" 
id="hdp_2_4_0_0_hive_server_restore_transport_mode_on_downgrade" />
+        </pre-downgrade>
+
         <upgrade>
           <task xsi:type="restart-task" />
         </upgrade>

Reply via email to