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

Andrew Wang commented on HDFS-11615:
------------------------------------

Hi Erik,

What's your proposal for new names? I'm guessing that the monitoring tools out 
there already understand a Hadoop MutableRate, so changing the names (even if 
it's awkward) will mean more work for them.

Chances are these monitoring tools also support displaying a separate 
human-friendly name, so again it might not be important for the raw JMX output 
to be very human readable.

> FSNamesystemLock metrics can be inaccurate due to millisecond precision
> -----------------------------------------------------------------------
>
>                 Key: HDFS-11615
>                 URL: https://issues.apache.org/jira/browse/HDFS-11615
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.7.4
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>         Attachments: HDFS-11615.000.patch
>
>
> Currently the {{FSNamesystemLock}} metrics created in HDFS-10872 track the 
> lock hold time using {{Timer.monotonicNow()}}, which has millisecond-level 
> precision. However, many of these operations hold the lock for less than a 
> millisecond, making these metrics inaccurate. We should instead use 
> {{System.nanoTime()}} for higher accuracy.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to