Repository: hadoop Updated Branches: refs/heads/YARN-2928 dda84085c -> 04de2cecc
YARN-3377. Fixed test failure in TestTimelineServiceClientIntegration. Contributed by Sangjin Lee. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/04de2cec Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/04de2cec Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/04de2cec Branch: refs/heads/YARN-2928 Commit: 04de2ceccd02edb00bd671a63e04855c132e9735 Parents: dda8408 Author: Zhijie Shen <[email protected]> Authored: Fri Mar 20 00:20:24 2015 -0700 Committer: Zhijie Shen <[email protected]> Committed: Fri Mar 20 00:20:24 2015 -0700 ---------------------------------------------------------------------- hadoop-yarn-project/CHANGES.txt | 3 +++ .../timelineservice/collector/TimelineCollectorManager.java | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/04de2cec/hadoop-yarn-project/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 216ae77..259cf64 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -35,6 +35,9 @@ Branch YARN-2928: Timeline Server Next Generation: Phase 1 YARN-3333. Rename TimelineAggregator etc. to TimelineCollector. (Sangjin Lee via junping_du) + YARN-3377. Fixed test failure in TestTimelineServiceClientIntegration. + (Sangjin Lee via zjshen) + IMPROVEMENTS OPTIMIZATIONS http://git-wip-us.apache.org/repos/asf/hadoop/blob/04de2cec/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorManager.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/TimelineCollectorManager.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorManager.java index 3691162..3a4515e 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorManager.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorManager.java @@ -239,8 +239,7 @@ public class TimelineCollectorManager extends CompositeService { + GenericExceptionHandler.class.getPackage().getName() + ";" + YarnJacksonJaxbJsonProvider.class.getPackage().getName(), "/*"); - timelineRestServer.setAttribute(COLLECTOR_MANAGER_ATTR_KEY, - TimelineCollectorManager.getInstance()); + timelineRestServer.setAttribute(COLLECTOR_MANAGER_ATTR_KEY, this); timelineRestServer.start(); } catch (Exception e) { String msg = "The per-node collector webapp failed to start.";
