You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/01/05 00:05:22 UTC
[41/50] [abbrv] ambari git commit: AMBARI-19358. UI to add config
...2.6/HIVE/configuration/hive-env.xml 'enable_heap_dump' config in smart
configs page (akovalenko)
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/4bc2263f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4bc2263f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4bc2263f
Branch: refs/heads/branch-dev-patch-upgrade
Commit: 4bc2263fcef85643301e730032e7b7d4de342f6c
Parents: ff22244
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Wed Jan 4 13:51:18 2017 +0200
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Wed Jan 4 13:51:54 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/4bc2263f/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/4bc2263f/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"
+ }
+ }
+ ]
+ }
+}