YARN-3377. Fixed test failure in TestTimelineServiceClientIntegration. Contributed by Sangjin Lee.

(cherry picked from commit 04de2ceccd02edb00bd671a63e04855c132e9735)
This commit is contained in:
Zhijie Shen 2015-03-20 00:20:24 -07:00 committed by Sangjin Lee
parent 2188a07e5b
commit 19c1132146

View File

@ -239,8 +239,7 @@ private void startWebApp() {
+ 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.";