|
@@ -1485,7 +1485,7 @@ public class ApplicationMaster {
|
|
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
|
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
|
@Override
|
|
@Override
|
|
public TimelinePutResponse run() throws Exception {
|
|
public TimelinePutResponse run() throws Exception {
|
|
- timelineV2Client.putEntities(entity);
|
|
|
|
|
|
+ timelineV2Client.putEntitiesAsync(entity);
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -1519,7 +1519,7 @@ public class ApplicationMaster {
|
|
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
|
appSubmitterUgi.doAs(new PrivilegedExceptionAction<Object>() {
|
|
@Override
|
|
@Override
|
|
public TimelinePutResponse run() throws Exception {
|
|
public TimelinePutResponse run() throws Exception {
|
|
- timelineV2Client.putEntities(entity);
|
|
|
|
|
|
+ timelineV2Client.putEntitiesAsync(entity);
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
});
|
|
});
|