Created on 09-27-2016 10:58 AM - edited 09-16-2022 03:41 AM
I am creating a python script which is based on CM API to add hosts to a cluster.
My challenges is:
I couldn't find which API call to distribute parcel to hosts especially if there is a way to install the parcel on specified hosts. I checked the following link but didn't find anything useful:
https://cloudera.github.io/cm_api/epydoc/5.8.0/cm_api-module.html
Created 09-27-2016 11:43 AM
Created 09-27-2016 01:13 PM
Created 09-27-2016 01:49 PM
NP and thanks! I was also confused at the first place, when adding a new host on CM UI, there is one step which parcels being downloaded, distributed and activated on all hosts. That made me think managing parcel is a required step when adding new hosts in API.