hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11271) Use Time.monotonicNow() in Shell.java instead of Time.now()
Date Wed, 05 Nov 2014 06:36:33 GMT
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)

Mime
View raw message