From 5eaa1b7230b3cfcdeb595135c57b0d015274606c Mon Sep 17 00:00:00 2001 From: zhuqi Date: Sun, 4 Apr 2021 17:22:03 +0800 Subject: [PATCH] HADOOP-17619: Fix DelegationTokenRenewer#updateRenewalTime java doc error. (#2846). Contributed by Qi Zhu. Signed-off-by: Ayush Saxena --- .../main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java index 38a7344d4f9..8cc9e78b793 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java @@ -107,7 +107,7 @@ public class DelegationTokenRenewer * Set a new time for the renewal. * It can only be called when the action is not in the queue or any * collection because the hashCode may change - * @param newTime the new time + * @param delay the renewal time */ private void updateRenewalTime(long delay) { renewalTime = Time.now() + delay - delay/10;