YARN-7806. Distributed Shell should use timeline async api's. Contributed by Rohith Sharma K S
(cherry picked from commit 97607617ce01ee21af4fb9eb8df26fc6986a38a2)
This commit is contained in:
parent
f036609cea
commit
ce43e93f92
@ -1419,7 +1419,7 @@ private void publishContainerStartEventOnTimelineServiceV2(
|
||||
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
||||
@Override
|
||||
public TimelinePutResponse run() throws Exception {
|
||||
timelineV2Client.putEntities(entity);
|
||||
timelineV2Client.putEntitiesAsync(entity);
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@ -1453,7 +1453,7 @@ private void publishContainerEndEventOnTimelineServiceV2(
|
||||
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
||||
@Override
|
||||
public TimelinePutResponse run() throws Exception {
|
||||
timelineV2Client.putEntities(entity);
|
||||
timelineV2Client.putEntitiesAsync(entity);
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user