hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [36/50] [abbrv] hadoop git commit: MAPREDUCE-6838. Addendum to fix code comment
Date Thu, 31 Aug 2017 16:41:15 GMT
MAPREDUCE-6838. Addendum to fix code comment


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/16ba4f54
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/16ba4f54
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/16ba4f54

Branch: refs/heads/HADOOP-13345
Commit: 16ba4f544f13d614c1ebd6101ee14f7714e0fc54
Parents: 08f40bc
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Tue Aug 22 18:36:21 2017 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Wed Aug 30 11:29:54 2017 +0530

----------------------------------------------------------------------
 .../apache/hadoop/yarn/client/api/impl/TimelineV2ClientImpl.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/16ba4f54/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineV2ClientImpl.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineV2ClientImpl.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineV2ClientImpl.java
index 97d1364..220d6af 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineV2ClientImpl.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineV2ClientImpl.java
@@ -187,8 +187,7 @@ public class TimelineV2ClientImpl extends TimelineV2Client {
     if (collectorAddr == null || collectorAddr.isEmpty()) {
       collectorAddr = timelineServiceAddress;
     }
-    // Token need not be updated if either address or token service does not
-    // exist.
+    // Token need not be updated if both address and token service do not exist.
     String service = delegationToken.getService();
     if ((service == null || service.isEmpty()) &&
         (collectorAddr == null || collectorAddr.isEmpty())) {


---------------------------------------------------------------------
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