YARN-7806. Distributed Shell should use timeline async api's. Contributed by Rohith Sharma K S
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/97607617 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/97607617 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/97607617 Branch: refs/heads/YARN-6592 Commit: 97607617ce01ee21af4fb9eb8df26fc6986a38a2 Parents: 2014863 Author: Sunil G <sun...@apache.org> Authored: Wed Jan 24 16:56:13 2018 +0530 Committer: Sunil G <sun...@apache.org> Committed: Wed Jan 24 16:56:13 2018 +0530 ---------------------------------------------------------------------- .../yarn/applications/distributedshell/ApplicationMaster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/97607617/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java index bd810c1..270ef1b 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java @@ -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; } }); --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org