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() + ";" + GenericExceptionHandler.class.getPackage().getName() + ";"
+ YarnJacksonJaxbJsonProvider.class.getPackage().getName(), + YarnJacksonJaxbJsonProvider.class.getPackage().getName(),
"/*"); "/*");
timelineRestServer.setAttribute(COLLECTOR_MANAGER_ATTR_KEY, timelineRestServer.setAttribute(COLLECTOR_MANAGER_ATTR_KEY, this);
TimelineCollectorManager.getInstance());
timelineRestServer.start(); timelineRestServer.start();
} catch (Exception e) { } catch (Exception e) {
String msg = "The per-node collector webapp failed to start."; String msg = "The per-node collector webapp failed to start.";