Vinayakumar B created HADOOP-11271:
--------------------------------------

             Summary: 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


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