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-14253 AMS service check fails on CentOS7 (dsen)
Date Wed, 09 Dec 2015 14:23:53 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk bb6dd3e33 -> 0404d0613


AMBARI-14253 AMS service check fails on CentOS7 (dsen)


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

Branch: refs/heads/trunk
Commit: 0404d061384a9b7be2622c363ea4cb1d0deedc9e
Parents: bb6dd3e
Author: Dmytro Sen <dsen@apache.org>
Authored: Wed Dec 9 16:23:39 2015 +0200
Committer: Dmytro Sen <dsen@apache.org>
Committed: Wed Dec 9 16:23:39 2015 +0200

----------------------------------------------------------------------
 .../metrics/timeline/TimelineMetricConfiguration.java            | 4 ++--
 .../AMBARI_METRICS/0.1.0/configuration/ams-site.xml              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0404d061/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
index ea05c25..6311f9f 100644
--- a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
+++ b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
@@ -263,9 +263,9 @@ public class TimelineMetricConfiguration {
 
   public int getTimelineMetricsServiceWatcherInitDelay() {
     if (metricsConf != null) {
-      return Integer.parseInt(metricsConf.get(WATCHER_INITIAL_DELAY, "120"));
+      return Integer.parseInt(metricsConf.get(WATCHER_INITIAL_DELAY, "600"));
     }
-    return 120;
+    return 600;
   }
 
   public int getTimelineMetricsServiceWatcherDelay() {

http://git-wip-us.apache.org/repos/asf/ambari/blob/0404d061/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 de82b75..beb0fa9 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
@@ -496,10 +496,10 @@
   </property>
   <property>
     <name>timeline.metrics.service.watcher.initial.delay</name>
-    <value>120</value>
+    <value>600</value>
     <description>
       The time to delay first watcher check execution
-      Default resolution is 2 minutes.
+      Default resolution is 10 minutes.
     </description>
   </property>
   <property>


Mime
View raw message