Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

How to get hostID after inspecting hosts? Do you have examples for creating a cluster using CM API

avatar
Contributor

To create a cluster, I am trying to use cm.inspect_host() method to get all hosts. I found all host generates random hostID in this way, how can i get the hostID for the hosts?


api.get_all_hosts('full') seems not working in my case.

 

Do you have examples for creating a cluster using CM API? My phython code and all examples from cloudera website seems not working.

Who agreed with this topic