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

Shanmukha Haripriya Kota reassigned HBASE-25150:
------------------------------------------------

    Assignee: Shanmukha Haripriya Kota

> Metrics recording a time duration should use System.nanoTime()
> --------------------------------------------------------------
>
>                 Key: HBASE-25150
>                 URL: https://issues.apache.org/jira/browse/HBASE-25150
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>            Reporter: Nick Dimiduk
>            Assignee: Shanmukha Haripriya Kota
>            Priority: Major
>
> I was looking around in our table metrics and noticed that scan time is 
> collected using {{EnvironmentEdgeManager.currentTime()}}. This isn't a stable 
> way to measure a duration of time on the jvm. We should convert all these 
> occurrences to use {{TimeUnit.NANOSECONDS.toMillis(System.nanoTime())}} 
> instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to