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

Hudson commented on HADOOP-11271:
---------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #734 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/734/])
HADOOP-11271. Use Time.monotonicNow() in Shell.java instead of Time.now() 
(Contributed by Vinayakumar B) (vinayakumarb: rev 
8e9502e05d09e31b76fda7cc6691e78a39db8de6)
* hadoop-common-project/hadoop-common/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java


> 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
>             Fix For: 2.7.0
>
>         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