hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiboc...@apache.org
Subject hadoop git commit: YARN-6561. Update exception message during timeline collector aux service initialization. (Vrushali C via Haibo Chen)
Date Wed, 10 May 2017 05:04:55 GMT
Repository: hadoop
Updated Branches:
  refs/heads/YARN-5355-branch-2 f07a97c1a -> f1f7d6534


YARN-6561. Update exception message during timeline collector aux service initialization.
(Vrushali C via Haibo Chen)

(cherry picked from commit 4c8b9d23a1b4f92bf370617a0b42ac68bdcf33ac)


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

Branch: refs/heads/YARN-5355-branch-2
Commit: f1f7d6534d8f4a9a4f9bf4b1c83b2dce463e40aa
Parents: f07a97c
Author: Haibo Chen <haibochen@cloudera.com>
Authored: Tue May 9 21:37:30 2017 -0700
Committer: Haibo Chen <haibochen@cloudera.com>
Committed: Tue May 9 22:04:30 2017 -0700

----------------------------------------------------------------------
 .../collector/PerNodeTimelineCollectorsAuxService.java        | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f1f7d653/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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message