Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cloudera API for yarnQMPage managing Resource polls/placement/partitioning

avatar
New Contributor

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

 

1 ACCEPTED SOLUTION

avatar
Super Guru

@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é

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

2 REPLIES 2

avatar
Super Guru

@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é

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Community Manager

@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,
Community Manager


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.
Learn more about the Cloudera Community: