Repository: hadoop
Updated Branches:
  refs/heads/branch-2 8ec9dca2e -> ae0082a3f


HDFS-11282. Document the missing metrics of DataNode Volume IO operations. 
Contributed by Yiqun Lin.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ae0082a3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ae0082a3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ae0082a3

Branch: refs/heads/branch-2
Commit: ae0082a3fc945a2faab653770faf9a14c3fd9126
Parents: 8ec9dca
Author: Arpit Agarwal <a...@apache.org>
Authored: Thu Jan 5 19:34:32 2017 -0800
Committer: Arpit Agarwal <a...@apache.org>
Committed: Mon Jan 16 22:24:49 2017 -0800

----------------------------------------------------------------------
 .../hadoop-common/src/site/markdown/Metrics.md  | 31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ae0082a3/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 cf0764c..cc06e5e 100644
--- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md
+++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md
@@ -320,6 +320,37 @@ Each metrics record contains tags such as SessionId and 
Hostname as additional i
 | `SendDataPacketTransferNanosAvgTime` | Average transfer time of sending 
packets in nanoseconds |
 | `BPServiceActorInfo` | The information about a block pool service actor |
 
+FsVolume
+--------
+
+Per-volume metrics contain Datanode Volume IO related statistics. Per-volume 
metrics are off by default. They can be enbabled by setting 
`dfs.datanode.fileio.events.class` to 
**org.apache.hadoop.hdfs.server.datanode.ProfilingFileIoEvents**, but enabling 
per-volume metrics may have a performance impact. Each metrics record contains 
tags such as Hostname as additional information along with metrics.
+
+| Name | Description |
+|:---- |:---- |
+| `TotalMetadataOperations` | Total number (monotonically increasing) of 
metadata operations. Metadata operations include stat, list, mkdir, delete, 
move, open and posix_fadvise. |
+| `MetadataOperationRateNumOps` | The number of metadata operations within an 
interval time of metric |
+| `MetadataOperationRateAvgTime` | Mean time of metadata operations in 
milliseconds |
+| `MetadataOperationLatency`*num*`s(50|75|90|95|99)thPercentileLatency` | The 
50/75/90/95/99th percentile of metadata operations latency in milliseconds. 
Percentile measurement is off by default, by watching no intervals. The 
intervals are specified by `dfs.metrics.percentiles.intervals`. |
+| `TotalDataFileIos` | Total number (monotonically increasing) of data file io 
operations |
+| `DataFileIoRateNumOps` | The number of data file io operations within an 
interval time of metric |
+| `DataFileIoRateAvgTime` | Mean time of data file io operations in 
milliseconds |
+| `DataFileIoLatency`*num*`s(50|75|90|95|99)thPercentileLatency` | The 
50/75/90/95/99th percentile of data file io operations latency in milliseconds. 
Percentile measurement is off by default, by watching no intervals. The 
intervals are specified by `dfs.metrics.percentiles.intervals`. |
+| `FlushIoRateNumOps` | The number of file flush io operations within an 
interval time of metric |
+| `FlushIoRateAvgTime` | Mean time of file flush io operations in milliseconds 
|
+| `FlushIoLatency`*num*`s(50|75|90|95|99)thPercentileLatency` | The 
50/75/90/95/99th percentile of file flush io operations latency in 
milliseconds. Percentile measurement is off by default, by watching no 
intervals. The intervals are specified by `dfs.metrics.percentiles.intervals`. |
+| `SyncIoRateNumOps` | The number of file sync io operations within an 
interval time of metric |
+| `SyncIoRateAvgTime` | Mean time of file sync io operations in milliseconds |
+| `SyncIoLatency`*num*`s(50|75|90|95|99)thPercentileLatency` | The 
50/75/90/95/99th percentile of file sync io operations latency in milliseconds. 
Percentile measurement is off by default, by watching no intervals. The 
intervals are specified by `dfs.metrics.percentiles.intervals`. |
+| `ReadIoRateNumOps` | The number of file read io operations within an 
interval time of metric |
+| `ReadIoRateAvgTime` | Mean time of file read io operations in milliseconds |
+| `ReadIoLatency`*num*`s(50|75|90|95|99)thPercentileLatency` | The 
50/75/90/95/99th percentile of file read io operations latency in milliseconds. 
Percentile measurement is off by default, by watching no intervals. The 
intervals are specified by `dfs.metrics.percentiles.intervals`. |
+| `WriteIoRateNumOps` | The number of file write io operations within an 
interval time of metric |
+| `WriteIoRateAvgTime` | Mean time of file write io operations in milliseconds 
|
+| `WriteIoLatency`*num*`s(50|75|90|95|99)thPercentileLatency` | The 
50/75/90/95/99th percentile of file write io operations latency in 
milliseconds. Percentile measurement is off by default, by watching no 
intervals. The intervals are specified by `dfs.metrics.percentiles.intervals`. |
+| `TotalFileIoErrors` | Total number (monotonically increasing) of file io 
error operations |
+| `FileIoErrorRateNumOps` | The number of file io error operations within an 
interval time of metric |
+| `FileIoErrorRateAvgTime` | It measures the mean time in milliseconds from 
the start of an operation to hitting a failure |
+
 yarn context
 ============
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to