Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 a5da3885e -> 775e29070


AMBARI-17072. Make QuickLink to HS2 UI work when HTTPS is enabled. (jaimin)


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

Branch: refs/heads/branch-2.4
Commit: 775e29070401f3563321811de31c67897953a7da
Parents: a5da388
Author: Jaimin Jetly <[email protected]>
Authored: Mon Jun 6 16:33:45 2016 -0700
Committer: Jaimin Jetly <[email protected]>
Committed: Mon Jun 6 16:35:24 2016 -0700

----------------------------------------------------------------------
 .../services/HIVE/configuration/hive-interactive-site.xml |  7 +++++++
 .../HDP/2.5/services/HIVE/quicklinks/quicklinks.json      | 10 ++++++++++
 2 files changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/775e2907/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml
index 8e32e9dd..4133e5b 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml
@@ -257,6 +257,13 @@ limitations under the License.
     <on-stack-upgrade add="true" change="true" delete="false"/>
   </property>
   <property>
+    <name>hive.server2.webui.use.ssl</name>
+    <value>false</value>
+    <description>Enable SSL for HiveServer2 Interactive</description>
+    <on-ambari-upgrade add="false" change="true" delete="true"/>
+    <on-stack-upgrade add="true" change="true" delete="false"/>
+  </property>
+  <property>
     <name>hive.server2.zookeeper.namespace</name>
     <value>hiveserver2-hive2</value>
     <description>The parent node in ZooKeeper used by HiveServer2 when 
supporting dynamic service discovery.</description>

http://git-wip-us.apache.org/repos/asf/ambari/blob/775e2907/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/quicklinks/quicklinks.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/quicklinks/quicklinks.json
 
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/quicklinks/quicklinks.json
index e586d20..f276a89 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/quicklinks/quicklinks.json
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/quicklinks/quicklinks.json
@@ -45,6 +45,16 @@
           "https_default_port": "10502",
           "regex": "\\w*:(\\d+)",
           "site": "hive-interactive-site"
+        },
+        "protocol":{
+          "type":"https",
+          "checks":[
+            {
+              "property":"hive.server2.webui.use.ssl",
+              "desired":"true",
+              "site":"hive-interactive-site"
+            }
+          ]
         }
       }
     ]

Reply via email to