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]
Created on
05-11-2022
12:24 AM
- last edited on
04-21-2026
12:56 AM
by
GrazittiAPI
hi,
I download latest python swagger manager api, but not found api keys for:
get current resource pools config:
GET cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/partitions/default/queues
add resource pool, and reconfigure old:
POST /cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/partitions/default/queues/root
get scheduler configs:
GET /cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/configs
reconfigure pool scheduler:
PUT /cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/configs
reconfigure pool parameters:
PUT /cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/partitions/default/queues/root.pool_name
please add it, or update documentation, if already present: https://archive.cloudera.com/cm7/7.4.4/generic/jar/cm_api/swagger-html-sdk-docs/python/README.html
Created 05-16-2022 08:26 PM
@kotopes ,
The API endpoint that you're looking for is the same you use to reconfigure pool parameters, but using a GET method instead of PUT:
GET /cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/partitions/default/queues/root.pool_name
Cheers,
André
Created 05-16-2022 08:26 PM
@kotopes ,
The API endpoint that you're looking for is the same you use to reconfigure pool parameters, but using a GET method instead of PUT:
GET /cmf/clusters/cluster-name/queue-manager-api/api/v1/environments/dev/clusters/cluster-name/resources/scheduler/partitions/default/queues/root.pool_name
Cheers,
André
Created 05-17-2022 11:50 PM
@kotopes Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
Regards,
Vidya Sargur,