YARN-11642. Fix Flaky Test TestTimelineAuthFilterForV2#testPutTimelineEntities. (#6417) Contributed by Shilun Fan.
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org> Signed-off-by: Shilun Fan <slfan1989@apache.org>
This commit is contained in:
parent
08713665c0
commit
60033fd581
@ -211,7 +211,8 @@ public void initialize() throws Exception {
|
|||||||
}
|
}
|
||||||
UserGroupInformation.setConfiguration(conf);
|
UserGroupInformation.setConfiguration(conf);
|
||||||
collectorManager = new DummyNodeTimelineCollectorManager();
|
collectorManager = new DummyNodeTimelineCollectorManager();
|
||||||
auxService = PerNodeTimelineCollectorsAuxService.launchServer(
|
PerNodeTimelineCollectorsAuxService as = new PerNodeTimelineCollectorsAuxService();
|
||||||
|
auxService = as.launchServer(
|
||||||
new String[0], collectorManager, conf);
|
new String[0], collectorManager, conf);
|
||||||
if (withKerberosLogin) {
|
if (withKerberosLogin) {
|
||||||
SecurityUtil.login(conf, YarnConfiguration.TIMELINE_SERVICE_KEYTAB,
|
SecurityUtil.login(conf, YarnConfiguration.TIMELINE_SERVICE_KEYTAB,
|
||||||
|
Loading…
Reference in New Issue
Block a user