[ 
https://issues.apache.org/jira/browse/HADOOP-10633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14741174#comment-14741174
 ] 

Steve Loughran commented on HADOOP-10633:
-----------------------------------------

Actually, it'd have to be -1 to using monotonic now for tokens. If I set the 
time on a machine back, I'd expect new tokens to have an expiry time relative 
to the new time; use monotonic time and they'd be valid for longer than you 
expect

> use Time#monotonicNow to avoid system clock reset
> -------------------------------------------------
>
>                 Key: HADOOP-10633
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10633
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io, security
>    Affects Versions: 3.0.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-10633.txt
>
>
> let's replace System#currentTimeMillis with Time#monotonicNow



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to