Repository: ambari Updated Branches: refs/heads/branch-2.2 05f5c6278 -> 07611bcee
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/07611bce Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/07611bce Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/07611bce Branch: refs/heads/branch-2.2 Commit: 07611bcee46d55981687239e9e7ed724fbbcf724 Parents: 05f5c62 Author: Dmytro Sen <[email protected]> Authored: Wed Dec 9 16:23:39 2015 +0200 Committer: Dmytro Sen <[email protected]> Committed: Wed Dec 9 16:24:46 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/07611bce/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/07611bce/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 ab7ae55..8173743 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 @@ -493,10 +493,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>
