Created 05-11-2022 12:24 AM
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,