Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Was pools_refresh API call removed in later version of CM API

avatar
Rising Star

According to the following github link, the pools_refresh() was availalbe since API V6.

https://github.com/cloudera/cm_api/blob/master/python/src/cm_api/endpoints/clusters.py

 

When I check the source code of V11 clusters.py, I couldn't find this funciton, was it removed?

1 ACCEPTED SOLUTION

avatar
Master Collaborator

 

I've checked our internal codebase, and it would appear to be MIA for a while. Happy to report that it's available in our latest v12 (v5.7 [0]) python API [1] .

 

[0] http://cloudera.github.io/cm_api/docs/releases/

[1] https://github.com/cloudera/cm_api/blob/cm5-5.7.0/python/src/cm_api/endpoints/clusters.py#L624-L631

 

 

View solution in original post

1 REPLY 1

avatar
Master Collaborator

 

I've checked our internal codebase, and it would appear to be MIA for a while. Happy to report that it's available in our latest v12 (v5.7 [0]) python API [1] .

 

[0] http://cloudera.github.io/cm_api/docs/releases/

[1] https://github.com/cloudera/cm_api/blob/cm5-5.7.0/python/src/cm_api/endpoints/clusters.py#L624-L631