Repository: hadoop Updated Branches: refs/heads/HDFS-7240 14a94e7a4 -> 66552374e
HDFS-11983. Ozone: Add documentation for metrics in KSMMetrics to OzoneMetrics.md. 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/66552374 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/66552374 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/66552374 Branch: refs/heads/HDFS-7240 Commit: 66552374e187ecfab32c4e1edaa23e5f57c46002 Parents: 14a94e7 Author: Yiqun Lin <[email protected]> Authored: Wed Jun 21 10:27:01 2017 +0800 Committer: Yiqun Lin <[email protected]> Committed: Wed Jun 21 10:27:01 2017 +0800 ---------------------------------------------------------------------- .../src/site/markdown/Ozonemetrics.md | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/66552374/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/Ozonemetrics.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/Ozonemetrics.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/Ozonemetrics.md index 4822607..21e3474 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/Ozonemetrics.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/Ozonemetrics.md @@ -87,3 +87,42 @@ RPC operations. | `GetSmallFile` | Get small file operations | | `CloseContainer` | Close container operations | +### Key Space Metrics + +The metrics for various key space manager operations in HDFS Ozone. + +key space manager (KSM) is a service that similar to the Namenode in HDFS. +In the current design of KSM, it maintains metadata of all volumes, buckets and keys. +These metrics are only available when ozone is enabled. + +Following is the set of counters maintained for each key space operation. + +*Total number of operation* - We maintain an array which counts how +many times a specific operation has been performed. +Eg.`NumVolumeCreate` tells us how many times create volume has been +invoked in KSM. + +*Total number of failed operation* - This type operation is opposite to the above +operation. +Eg.`NumVolumeCreateFails` tells us how many times create volume has been invoked +failed in KSM. + +Following are the counters for each of key space operations. + +| Name | Description | +|:---- |:---- | +| `VolumeCreate` | Create volume operation | +| `VolumeUpdates` | Update volume property operation | +| `VolumeInfos` | Get volume information operation | +| `VolumeCheckAccesses` | Check volume access operation | +| `VolumeDeletes` | Delete volume operation | +| `VolumeLists` | List volume operation | +| `BucketCreates` | Create bucket operation | +| `BucketInfos` | Get bucket information operation | +| `BucketUpdates` | Update bucket property operation | +| `BucketDeletes` | Delete bucket operation | +| `BucketLists` | List bucket operation | +| `KeyAllocate` | Allocate key operation | +| `KeyLookup` | Look up key operation | +| `KeyDeletes` | Delete key operation | +| `KeyLists` | List key operation | \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
