HDFS-16319. Add metrics doc for ReadLockLongHoldCount and WriteLockLongHoldCount (#3653). Contributed by tomscut.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
litao 2021-11-14 22:40:24 +08:00 committed by GitHub
parent 6e6f2e4baa
commit 60acf8434d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,6 +285,8 @@ Each metrics record contains tags such as HAState and Hostname as additional inf
| `HAState` | (HA-only) Current state of the NameNode: initializing or active or standby or stopping state | | `HAState` | (HA-only) Current state of the NameNode: initializing or active or standby or stopping state |
| `FSState` | Current state of the file system: Safemode or Operational | | `FSState` | Current state of the file system: Safemode or Operational |
| `LockQueueLength` | Number of threads waiting to acquire FSNameSystem lock | | `LockQueueLength` | Number of threads waiting to acquire FSNameSystem lock |
| `ReadLockLongHoldCount` | The number of time the read lock has been held for longer than the threshold |
| `WriteLockLongHoldCount` | The number of time the write lock has been held for longer than the threshold |
| `TotalSyncCount` | Total number of sync operations performed by edit log | | `TotalSyncCount` | Total number of sync operations performed by edit log |
| `TotalSyncTimes` | Total number of milliseconds spent by various edit logs in sync operation| | `TotalSyncTimes` | Total number of milliseconds spent by various edit logs in sync operation|
| `NameDirSize` | NameNode name directories size in bytes | | `NameDirSize` | NameNode name directories size in bytes |