Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 c7c207d97 -> 0c5bae7e2


AMBARI-19358. UI to add config ...2.6/HIVE/configuration/hive-env.xml 
'enable_heap_dump' config in smart configs page (akovalenko)


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

Branch: refs/heads/branch-2.5
Commit: 0c5bae7e214beda6eeffc98763d7875d4f9d5234
Parents: c7c207d
Author: Aleksandr Kovalenko <[email protected]>
Authored: Wed Jan 4 13:51:18 2017 +0200
Committer: Aleksandr Kovalenko <[email protected]>
Committed: Wed Jan 4 13:53:09 2017 +0200

----------------------------------------------------------------------
 .../stacks/HDP/2.6/services/HIVE/metainfo.xml   |  6 ++++++
 .../HDP/2.6/services/HIVE/themes/theme.json     | 20 ++++++++++++++++++++
 2 files changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0c5bae7e/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/metainfo.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/metainfo.xml 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/metainfo.xml
index 54c92d8..d0c8013 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/metainfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/metainfo.xml
@@ -22,5 +22,11 @@
       <name>HIVE</name>
       <version>1.2.1.2.6</version>
     </service>
+    <themes>
+      <theme>
+        <fileName>theme.json</fileName>
+        <default>true</default>
+      </theme>
+    </themes>
   </services>
 </metainfo>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0c5bae7e/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/themes/theme.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/themes/theme.json
 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/themes/theme.json
new file mode 100644
index 0000000..def0066
--- /dev/null
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/themes/theme.json
@@ -0,0 +1,20 @@
+{
+  "configuration" : {
+    "placement" : {
+      "configs" : [
+        {
+          "config": "hive-env/enable_heap_dump",
+          "subsection-name": "optimization-row2-col2"
+        }
+      ]
+    },
+    "widgets" : [
+      {
+        "config": "hive-env/enable_heap_dump",
+        "widget": {
+          "type": "toggle"
+        }
+      }
+    ]
+  }
+}

Reply via email to