You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hrishikesh Gadre (JIRA)" <ji...@apache.org> on 2018/08/13 22:25:00 UTC
[jira] [Created] (HADOOP-15670) UserGroupInformation TGT renewer
thread doesn't use monotonically increasing time for calculating interval
to sleep
Hrishikesh Gadre created HADOOP-15670:
-----------------------------------------
Summary: UserGroupInformation TGT renewer thread doesn't use monotonically increasing time for calculating interval to sleep
Key: HADOOP-15670
URL: https://issues.apache.org/jira/browse/HADOOP-15670
Project: Hadoop Common
Issue Type: Bug
Components: common
Affects Versions: 2.9.1, 3.1.0
Reporter: Hrishikesh Gadre
Assignee: Hrishikesh Gadre
As per the [documentation of Time#now() method|https://github.com/apache/hadoop/blob/74411ce0ce7336c0f7bb5793939fdd64a5dcdef6/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Time.java#L49-L57], it should not be used for calculating duration or interval to sleep. But the TGT renewer thread in UserGroupInformation object doesn't follow this recommendation,
[https://github.com/apache/hadoop/blob/74411ce0ce7336c0f7bb5793939fdd64a5dcdef6/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java#L892-L899]
This should be fixed to use Time.monotonicNow() API instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org