HDFS Cache Directive Metrics

Reference information for HDFS Cache Directive Metrics

In addition to these base metrics, many aggregate metrics are available. If an entity type has parents defined, you can formulate all possible aggregate metrics using the formula base_metric_across_parents.

In addition, metrics for aggregate totals can be formed by adding the prefix total_ to the front of the metric name.

Use the type-ahead feature in the Cloudera Manager chart browser to find the exact aggregate metric name, in case the plural form does not end in "s".

For example, the following metric names may be valid for HDFS Cache Directive:

  • cache_needed_across_clusters
  • total_cache_needed_across_clusters

Some metrics, such as alerts_rate, apply to nearly every metric context. Others only apply to a certain service or role.

For more information about metrics, see Cloudera Manager Metrics and Metric Aggregation.

cache_needed

Description
The cache space needed by the HDFS cache directive.
Unit
bytes
Parents
cluster, hdfs, hdfs_cache_pool
CDH Version
[CDH 5.0.0..CDH 6.0.0), [CDH 6.0.0..CDH 7.0.0), [CDH 7.0.0..CDH 8.0.0)

cache_used

Description
The total cache used.
Unit
bytes
Parents
cluster, hdfs, hdfs_cache_pool
CDH Version
[CDH 5.0.0..CDH 6.0.0), [CDH 6.0.0..CDH 7.0.0), [CDH 7.0.0..CDH 8.0.0)

files_cached

Description
The number of files cached by the HDFS cache directive.
Unit
files
Parents
cluster, hdfs, hdfs_cache_pool
CDH Version
[CDH 5.0.0..CDH 6.0.0), [CDH 6.0.0..CDH 7.0.0), [CDH 7.0.0..CDH 8.0.0)

files_needed

Description
The number of files needed by the HDFS cache directive.
Unit
files
Parents
cluster, hdfs, hdfs_cache_pool
CDH Version
[CDH 5.0.0..CDH 6.0.0), [CDH 6.0.0..CDH 7.0.0), [CDH 7.0.0..CDH 8.0.0)