ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-15026 Hadoop metrics emit interval seems to be 1 minute instead of 10 seconds default (dsen)
Date Tue, 16 Feb 2016 12:13:45 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 1a772e67f -> 7063e9dde


AMBARI-15026 Hadoop metrics emit interval seems to be 1 minute instead of 10 seconds default
(dsen)


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

Branch: refs/heads/branch-2.2
Commit: 7063e9dde72b83a3dbce59699a84753dd77583c7
Parents: 1a772e6
Author: Dmytro Sen <dsen@apache.org>
Authored: Tue Feb 16 14:03:09 2016 +0200
Committer: Dmytro Sen <dsen@apache.org>
Committed: Tue Feb 16 14:05:19 2016 +0200

----------------------------------------------------------------------
 .../common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py | 2 +-
 .../AMBARI_METRICS/0.1.0/configuration/ams-site.xml                | 2 +-
 .../common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py | 2 +-
 .../common-services/FLUME/1.4.0.2.0/package/scripts/params.py      | 2 +-
 .../HBASE/0.96.0.2.0/package/scripts/params_linux.py               | 2 +-
 .../STORM/0.9.1.2.1/package/scripts/params_linux.py                | 2 +-
 .../stacks/HDP/2.0.6/hooks/before-START/scripts/params.py          | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
index b4d8a97..ac6b463 100644
--- a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
@@ -133,7 +133,7 @@ if has_metric_collector:
       metric_collector_port = '6188'
   pass
 metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sink.report.interval",
60)
-metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
+metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
10)
 
 # if accumulo is selected accumulo_tserver_hosts should not be empty, but still default just
in case
 if 'slave_hosts' in config['clusterHostInfo']:

http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
index 56fb21b..d90d387 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
@@ -492,7 +492,7 @@
   </property>
   <property>
     <name>timeline.metrics.sink.collection.period</name>
-    <value>60</value>
+    <value>10</value>
     <description>
       The interval between two service metrics data exports.
     </description>

http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/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 8193737..89a60f7 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
@@ -117,7 +117,7 @@ java_version = int(config['hostLevelParams']['java_version'])
 metrics_collector_heapsize = default('/configurations/ams-env/metrics_collector_heapsize',
"512")
 host_sys_prepped = default("/hostLevelParams/host_sys_prepped", False)
 metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sink.report.interval",
60)
-metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
+metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
10)
 
 hbase_log_dir = config['configurations']['ams-hbase-env']['hbase_log_dir']
 hbase_classpath_additional = default("/configurations/ams-hbase-env/hbase_classpath_additional",
None)

http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
b/ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
index d2f2d02..28ee36b 100644
--- a/ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
@@ -103,4 +103,4 @@ if has_metric_collector:
       metric_collector_port = '6188'
   pass
 metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sink.report.interval",
60)
-metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
+metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
10)

http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
index 27a4e84..f6cae4d 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
@@ -157,7 +157,7 @@ if has_metric_collector:
       metric_collector_port = '6188'
   pass
 metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sink.report.interval",
60)
-metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
+metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
10)
 
 # if hbase is selected the hbase_rs_hosts, should not be empty, but still default just in
case
 if 'slave_hosts' in config['clusterHostInfo']:

http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
index f186a89..38d1951 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
@@ -167,7 +167,7 @@ if has_metric_collector:
   metric_collector_app_id = "nimbus"
 
 metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sink.report.interval",
60)
-metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
+metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
10)
 metric_collector_sink_jar = "/usr/lib/storm/lib/ambari-metrics-storm-sink*.jar"
 
 # ranger host

http://git-wip-us.apache.org/repos/asf/ambari/blob/7063e9dd/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
index 301e25d..3bf1bf9 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
@@ -114,7 +114,7 @@ if has_metric_collector:
       metric_collector_port = '6188'
   pass
 metrics_report_interval = default("/configurations/ams-site/timeline.metrics.sink.report.interval",
60)
-metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
60)
+metrics_collection_period = default("/configurations/ams-site/timeline.metrics.sink.collection.period",
10)
 
 #hadoop params
 


Mime
View raw message