ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-13931. AMS should allow specification of custom classpath (Aravindan Vijayan via smohanty)
Date Wed, 18 Nov 2015 01:19:06 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk edae7bd5c -> 7c271fb8a


AMBARI-13931. AMS should allow specification of custom classpath (Aravindan Vijayan via smohanty)


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

Branch: refs/heads/trunk
Commit: 7c271fb8a5520438a7b3382850ad5ad8fb96e2c7
Parents: edae7bd
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Tue Nov 17 17:18:29 2015 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Tue Nov 17 17:18:58 2015 -0800

----------------------------------------------------------------------
 .../AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml  | 10 +++++++++-
 .../AMBARI_METRICS/0.1.0/package/scripts/params.py        |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7c271fb8/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml
index b3f8dd1..c8f8ad6 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml
@@ -32,6 +32,14 @@
     <description>Pid Directory for HBase.</description>
   </property>
   <property>
+    <name>hbase_classpath_additional</name>
+    <value></value>
+    <description>Additional directory or jar in classpath for HBase.</description>
+    <value-attributes>
+      <empty-value-valid>true</empty-value-valid>
+    </value-attributes>
+  </property>
+  <property>
     <name>hbase_regionserver_heapsize</name>
     <value>512</value>
     <description>
@@ -143,7 +151,7 @@ export JAVA_HOME={{java64_home}}
 export HBASE_CONF_DIR=${HBASE_CONF_DIR:-{{hbase_conf_dir}}}
 
 # Extra Java CLASSPATH elements. Optional.
-export HBASE_CLASSPATH=${HBASE_CLASSPATH}
+export HBASE_CLASSPATH=${HBASE_CLASSPATH}:{{hbase_classpath_additional}}
 
 # The maximum amount of heap to use, in MB. Default is 1000.
 export HBASE_HEAPSIZE={{hbase_heapsize}}m

http://git-wip-us.apache.org/repos/asf/ambari/blob/7c271fb8/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
index 568b11d..b6f6e40 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
@@ -92,6 +92,7 @@ metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sin
 metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
 
 hbase_log_dir = config['configurations']['ams-hbase-env']['hbase_log_dir']
+hbase_classpath_additional = config['configurations']['ams-hbase-env']['hbase_classpath_additional']
 master_heapsize = config['configurations']['ams-hbase-env']['hbase_master_heapsize']
 regionserver_heapsize = config['configurations']['ams-hbase-env']['hbase_regionserver_heapsize']
 


Mime
View raw message