From e4b75ad583fe7d78a529288992f3721f29213f89 Mon Sep 17 00:00:00 2001 From: Yiqun Lin Date: Tue, 7 Aug 2018 09:32:51 +0800 Subject: [PATCH] HDFS-13792. Fix FSN read/write lock metrics name. Contributed by Chao Sun. --- .../hadoop-common/src/site/markdown/Metrics.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 676ab0b508e..f1dbc500dfe 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 -----------