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

Uma Maheswara Rao G commented on HADOOP-11271:
----------------------------------------------

+1

> Use Time.monotonicNow() in Shell.java instead of Time.now()
> -----------------------------------------------------------
>
>                 Key: HADOOP-11271
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11271
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Minor
>         Attachments: HADOOP-11271-001.patch
>
>
> Use {{Time.monotonicNow()}} instead of {{Time.now()}} in Shell.java to keep 
> track of the last executed time.
> Using Time.monotonicNow() in elapsed time calculation usecases will be 
> accurate and safe from system time changes.



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

Reply via email to