Repository: hadoop Updated Branches: refs/heads/trunk 461ee44d2 -> ab2bb93a2
YARN-6561. Update exception message during timeline collector aux service initialization. (Vrushali C via Haibo Chen) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ab2bb93a Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ab2bb93a Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ab2bb93a Branch: refs/heads/trunk Commit: ab2bb93a2ab1651b73ec9ba2d1deec4deafdecaf Parents: 461ee44 Author: Haibo Chen <haiboc...@cloudera.com> Authored: Tue May 9 21:37:30 2017 -0700 Committer: Haibo Chen <haiboc...@cloudera.com> Committed: Tue May 9 21:37:30 2017 -0700 ---------------------------------------------------------------------- .../collector/PerNodeTimelineCollectorsAuxService.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/ab2bb93a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/PerNodeTimelineCollectorsAuxService.java ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/PerNodeTimelineCollectorsAuxService.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/PerNodeTimelineCollectorsAuxService.java index 041e7c2..266bd04 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/PerNodeTimelineCollectorsAuxService.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/PerNodeTimelineCollectorsAuxService.java @@ -73,7 +73,12 @@ public class PerNodeTimelineCollectorsAuxService extends AuxiliaryService { @Override protected void serviceInit(Configuration conf) throws Exception { if (!YarnConfiguration.timelineServiceV2Enabled(conf)) { - throw new YarnException("Timeline service v2 is not enabled"); + throw new YarnException( + "Looks like timeline_collector is set as an auxillary service in " + + YarnConfiguration.NM_AUX_SERVICES + + ". But Timeline service v2 is not enabled," + + " so timeline_collector needs to be removed" + + " from that list of auxillary services."); } collectorLingerPeriod = conf.getLong(YarnConfiguration.ATS_APP_COLLECTOR_LINGER_PERIOD_IN_MS, --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org