- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Cloudera Manager APIs
- Labels:
-
Cloudera Manager
Created ‎01-23-2020 03:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
While browsing through various articles related to Cloudera Manager, I came across an article which talks about exporting Cloudera Manager configs using a script.
In this a wget from "${SCM_URL}/cmf/exportCLI" url is doing the trick. Being fairly new with playing APIs, I tried to read across somethings related to CM APIs, however, did not find much. Would be great if someone could help me to understand which exact configurations are exported with the mentioned API.
Apologies if seems to be a basic question. However, thought of asking community instead of creating confusions for myself.
Thanks
snm1523
Created ‎01-23-2020 03:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CM's full API documentation can be found here:
https://archive.cloudera.com/cm7/7.0.3/generic/jar/cm_api/apidocs/index.html
The API url starts with /api/v{number}, for example: http://{CM_URL}:7180/api/v32/clusters
I have never personally used API ${SCM_URL}/cmf/exportCLI, I googled and found those articles seemed very old (more than 8-9 years old). I do not think it is applicable anymore. Current CM provides a URL for you to export all cluster configurations in one call via ${SCM_URL}/api/v32/cm/deployment.
v32 is the highest version number that is available in CM6.2, the version that I am using, so depending on your version of CM, the version of API might be different. Use ${SCM_URL}/api/version to check.
Cheers
Eric
Created ‎01-23-2020 03:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CM's full API documentation can be found here:
https://archive.cloudera.com/cm7/7.0.3/generic/jar/cm_api/apidocs/index.html
The API url starts with /api/v{number}, for example: http://{CM_URL}:7180/api/v32/clusters
I have never personally used API ${SCM_URL}/cmf/exportCLI, I googled and found those articles seemed very old (more than 8-9 years old). I do not think it is applicable anymore. Current CM provides a URL for you to export all cluster configurations in one call via ${SCM_URL}/api/v32/cm/deployment.
v32 is the highest version number that is available in CM6.2, the version that I am using, so depending on your version of CM, the version of API might be different. Use ${SCM_URL}/api/version to check.
Cheers
Eric
Created ‎01-24-2020 01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perfect explanation. Thank you @EricL. This certainly helped.
Created ‎12-22-2022 08:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanx Eric.your answering helped a lot.
v32 also working in this config file.
