From d61418f34a6ed86c42c0d145c535d5b080399f21 Mon Sep 17 00:00:00 2001 From: Brahma Reddy Battula Date: Tue, 23 May 2017 23:52:42 +0800 Subject: [PATCH] HDFS-11864. Document Metrics to track usage of memory for writes. Contributed by Yiqun Lin. (cherry picked from commit 52661e0912a79d1e851afc2b46c941ce952ca63f) --- .../hadoop-common/src/site/markdown/Metrics.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 106b08d978c..3d1d3c49373 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md @@ -284,6 +284,21 @@ Each metrics record contains tags such as SessionId and Hostname as additional i | `WritesFromLocalClient` | Total number of write operations from local client | | `WritesFromRemoteClient` | Total number of write operations from remote client | | `BlocksGetLocalPathInfo` | Total number of operations to get local path names of blocks | +| `RamDiskBlocksWrite` | Total number of blocks written to memory | +| `RamDiskBlocksWriteFallback` | Total number of blocks written to memory but not satisfied (failed-over to disk) | +| `RamDiskBytesWrite` | Total number of bytes written to memory | +| `RamDiskBlocksReadHits` | Total number of times a block in memory was read | +| `RamDiskBlocksEvicted` | Total number of blocks evicted in memory | +| `RamDiskBlocksEvictedWithoutRead` | Total number of blocks evicted in memory without ever being read from memory | +| `RamDiskBlocksEvictionWindowMsNumOps` | Number of blocks evicted in memory| +| `RamDiskBlocksEvictionWindowMsAvgTime` | Average time of blocks in memory before being evicted in milliseconds | +| `RamDiskBlocksEvictionWindows`*num*`s(50|75|90|95|99)thPercentileLatency` | The 50/75/90/95/99th percentile of latency between memory write and eviction in milliseconds. Percentile measurement is off by default, by watching no intervals. The intervals are specified by `dfs.metrics.percentiles.intervals`. | +| `RamDiskBlocksLazyPersisted` | Total number of blocks written to disk by lazy writer | +| `RamDiskBlocksDeletedBeforeLazyPersisted` | Total number of blocks deleted by application before being persisted to disk | +| `RamDiskBytesLazyPersisted` | Total number of bytes written to disk by lazy writer | +| `RamDiskBlocksLazyPersistWindowMsNumOps` | Number of blocks written to disk by lazy writer | +| `RamDiskBlocksLazyPersistWindowMsAvgTime` | Average time of blocks written to disk by lazy writer in milliseconds | +| `RamDiskBlocksLazyPersistWindows`*num*`s(50|75|90|95|99)thPercentileLatency` | The 50/75/90/95/99th percentile of latency between memory write and disk persist in milliseconds. Percentile measurement is off by default, by watching no intervals. The intervals are specified by `dfs.metrics.percentiles.intervals`. | | `FsyncCount` | Total number of fsync | | `VolumeFailures` | Total number of volume failures occurred | | `ReadBlockOpNumOps` | Total number of read operations |