My Oracle Support Banner

How to Query Data from Cloudera Manager Using the Cloudera Manager API (Doc ID 2269373.1)

Last updated on JANUARY 22, 2020

Applies to:

Big Data Appliance Integrated Software - Version 4.5.0 and later
Linux x86-64


You can query data in Cloudera Manager (CM) using the CM API. It is possible to create a script to access the CM API and run queries and send email about the results.

This note provides general information on using Cloudera Manager's REST APIs to work with existing tools and to programmatically manage your Hadoop clusters. The API is available with Cloudera Enterprise and comes with open-source client libraries.

In the examples below bdanode03 represents the CM host which is on Node 3 of the cluster by default. Adjust as needed for your cluster.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Example to generate base JSON queries
 Example to generate HDFS disk usage reports using the Cloudera Manager API

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.