hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject hadoop git commit: YARN-7806. Distributed Shell should use timeline async api's. Contributed by Rohith Sharma K S
Date Wed, 24 Jan 2018 11:26:22 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 201486347 -> 97607617c


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/trunk
Commit: 97607617ce01ee21af4fb9eb8df26fc6986a38a2
Parents: 2014863
Author: Sunil G <sunilg@apache.org>
Authored: Wed Jan 24 16:56:13 2018 +0530
Committer: Sunil G <sunilg@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message