hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6841) Use Time.monotonicNow() wherever applicable instead of Time.now()
Date Thu, 18 Sep 2014 17:52:34 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinayakumar B updated HDFS-6841:
--------------------------------
    Attachment: HDFS-6841-003.patch

Updated as per [~cmccabe] comments.

> Use Time.monotonicNow() wherever applicable instead of Time.now()
> -----------------------------------------------------------------
>
>                 Key: HDFS-6841
>                 URL: https://issues.apache.org/jira/browse/HDFS-6841
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>         Attachments: HDFS-6841-001.patch, HDFS-6841-002.patch, HDFS-6841-003.patch
>
>
> {{Time.now()}} used  in many places to calculate elapsed time.
> This should be replaced with {{Time.monotonicNow()}} to avoid effect of System time changes
on elapsed time calculations.



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

Mime
View raw message