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 @@ 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.";
|
||||
|
|
Loading…
Reference in New Issue