hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11271) Use Time.monotonicNow() in Shell.java instead of Time.now()
Date Wed, 05 Nov 2014 09:21:35 GMT

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

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

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


> 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)

Mime
View raw message