HDFS-13792. Fix FSN read/write lock metrics name. Contributed by Chao Sun.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e4b75ad5 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e4b75ad5 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e4b75ad5 Branch: refs/heads/branch-3.1 Commit: e4b75ad583fe7d78a529288992f3721f29213f89 Parents: 0d155de Author: Yiqun Lin <[email protected]> Authored: Tue Aug 7 09:32:51 2018 +0800 Committer: Arpit Agarwal <[email protected]> Committed: Mon Aug 20 14:50:47 2018 -0700 ---------------------------------------------------------------------- .../hadoop-common/src/site/markdown/Metrics.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e4b75ad5/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md index 676ab0b..f1dbc50 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md @@ -252,8 +252,10 @@ Each metrics record contains tags such as HAState and Hostname as additional inf | `NumInMaintenanceLiveDataNodes` | Number of live Datanodes which are in maintenance state | | `NumInMaintenanceDeadDataNodes` | Number of dead Datanodes which are in maintenance state | | `NumEnteringMaintenanceDataNodes` | Number of Datanodes that are entering the maintenance state | -| `FSN(Read/Write)Lock`*OperationName*`NumOps` | Total number of acquiring lock by operations | -| `FSN(Read/Write)Lock`*OperationName*`AvgTime` | Average time of holding the lock by operations in milliseconds | +| `FSN(Read/Write)Lock`*OperationName*`NanosNumOps` | Total number of acquiring lock by operations | +| `FSN(Read/Write)Lock`*OperationName*`NanosAvgTime` | Average time of holding the lock by operations in nanoseconds | +| `FSN(Read/Write)LockOverallNanosNumOps` | Total number of acquiring lock by all operations | +| `FSN(Read/Write)LockOverallNanosAvgTime` | Average time of holding the lock by all operations in nanoseconds | JournalNode ----------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
