[
https://issues.apache.org/jira/browse/HADOOP-15670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang resolved HADOOP-15670.
--------------------------------
Resolution: Not A Problem
> 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: 3.1.0, 2.9.1
> Reporter: Hrishikesh Gadre
> Assignee: Hrishikesh Gadre
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]