hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hrishikesh Gadre (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15670) UserGroupInformation TGT renewer thread doesn't use monotonically increasing time for calculating interval to sleep
Date Mon, 13 Aug 2018 22:25:00 GMT
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


Mime
View raw message