YARN-3377. Fixed test failure in TestTimelineServiceClientIntegration. Contributed by Sangjin Lee.
(cherry picked from commit 04de2ceccd02edb00bd671a63e04855c132e9735)
This commit is contained in:
parent
2188a07e5b
commit
19c1132146
@ -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.";
|
||||||
|
Loading…
Reference in New Issue
Block a user