YARN-7806. Distributed Shell should use timeline async api's. Contributed by Rohith Sharma K S
This commit is contained in:
parent
2014863470
commit
97607617ce
|
@ -1511,7 +1511,7 @@ public class ApplicationMaster {
|
|||
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
||||
@Override
|
||||
public TimelinePutResponse run() throws Exception {
|
||||
timelineV2Client.putEntities(entity);
|
||||
timelineV2Client.putEntitiesAsync(entity);
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
@ -1545,7 +1545,7 @@ public class ApplicationMaster {
|
|||
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
||||
@Override
|
||||
public TimelinePutResponse run() throws Exception {
|
||||
timelineV2Client.putEntities(entity);
|
||||
timelineV2Client.putEntitiesAsync(entity);
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue