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

ASF GitHub Bot commented on HADOOP-17600:
-----------------------------------------

github-actions[bot] closed pull request #2810: HADOOP-17600. Replace Time.now() 
with Time.monotonicNow() for measuring time durations
URL: https://github.com/apache/hadoop/pull/2810




> Time.monotonicNow() should be used to compute time interval, but not 
> Time.now()
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-17600
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17600
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.4.0
>            Reporter: Jiajun Jiang
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HADOOP-17600.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> According to the specification of method Time.now() and Time.monotonicNow(), 
> the latter should be used for measuring durations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to