Bird
0
0

If you run the following Cloudera Manager API call:

medium📝 Command Output Q5 of 15
Hadoop - Cluster Administration
If you run the following Cloudera Manager API call:
curl -u admin:admin -X GET 'http://cm-server:7180/api/v40/clusters/Cluster1/services/HDFS/metrics/dfs.datanode.capacity'
What type of information will you receive?
AHDFS file count
BTotal storage capacity of all DataNodes
CCPU usage of DataNodes
DNumber of active DataNodes
Step-by-Step Solution
Solution:
  1. Step 1: Understand metric name

    dfs.datanode.capacity refers to total storage capacity of DataNodes in HDFS.
  2. Step 2: Eliminate other options

    Number of DataNodes, CPU usage, and file count are different metrics.
  3. Final Answer:

    Total storage capacity of all DataNodes -> Option B
  4. Quick Check:

    dfs.datanode.capacity = total DataNode storage [OK]
Quick Trick: Metric names often hint at data type, like capacity for storage [OK]
Common Mistakes:
  • Confusing capacity with node count
  • Assuming CPU usage from storage metric

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes