You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2017/04/03 19:29:41 UTC
[jira] [Created] (HDFS-11615) FSNamesystemLock metrics can be
inaccurate due millisecond precision
Erik Krogen created HDFS-11615:
----------------------------------
Summary: FSNamesystemLock metrics can be inaccurate due 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
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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org