Support Questions

Find answers, ask questions, and share your expertise

Poll parcel distribution status

avatar
Contributor

Is there a way to poll parcel distribution progress/completion using cm api ?

1 REPLY 1

avatar
Master Collaborator

@Prav 

 

You can leverage CM API to track parcel distribution status:

/api/v19/clusters/{clusterName}/parcels - This can be used to note the parcel name and version the cluster has access to

 /api/v19/clusters/{clusterName}/parcels/products/{product}/versions/{version} - This can be used to track the parcel distribution status

 

Refer below link for more details

http://cloudera.github.io/cm_api/apidocs/v19/path__clusters_-clusterName-_parcels_products_-product-...

 

Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.