浏览代码

MAPREDUCE-6838. Addendum to fix code comment

Varun Saxena 7 年之前
父节点
当前提交
92b14f3bd6

+ 1 - 2
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())) {