hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varunsax...@apache.org
Subject [49/51] [abbrv] hadoop git commit: MAPREDUCE-6838. Addendum to fix code comment
Date Tue, 22 Aug 2017 13:35:24 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/aee4a621
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/aee4a621
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/aee4a621

Branch: refs/heads/YARN-5355
Commit: aee4a621551c1d07e0c0b9ca753cf8fee4909be9
Parents: 42ea4d5
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Tue Aug 22 18:36:21 2017 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Tue Aug 22 19:03:05 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/aee4a621/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