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 Wed, 13 Aug 2014 11:13:12 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-001.patch

Changed in HDFS project.
 Didn't change in all Tests. Changed only for required tests.


> 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
>
>
> {{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.2#6252)

Mime
View raw message