Using cloudera API to view the service configurations such as password

Using Cloudera API we can view the configurations of the hadoop  services. For example to view the hive metastore password use the command as below

#curl -u cm_username:cm_password “http://cloudera_manager:7180/api/v14/clusters/cluster_name/services/hive/config”

We can see this information directly in browser by accessing the link  http://cloudera_manager:7180/api/v14/clusters/cluster_name/services/hive/config directly. You should know the CM admin login

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s