Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Dynamic resource pools edit and refresh via API

Dynamic resource pools edit and refresh via API

Master Collaborator

Hi Cloudera,

is it possible to edit individual values in the YARN's dynamic resouce pool and add new items into that?

I have found this API but it looks like it does only refresh

 

https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/swagger-html-sdk-docs/python/docs/Clusters...

 

Also the same question for Impala request pools and if there is any way how to change it via API

 

Thanks

Tomas

 

1 REPLY 1

Re: Dynamic resource pools edit and refresh via API

Explorer

Please tell me after the Refresh Dynamic Resource Pools there is an error
"Failed to perform refresh of roles in YARN, Impala, and (in CDH 5.8 and later) Hive services."
Refresh the ResourceManager's pool ACLs, states, scheduler specific properties, and hosts allow/exclude information.
Process yarn-RESOURCEMANAGER-refresh (id=12038) on host bda3node04.vtb24.ru (id=6) exited with 255 and expected 0
Refresh the ResourceManager's pool ACLs, states, scheduler specific properties, and hosts allow/exclude information.
Process yarn-RESOURCEMANAGER-refresh (id=12039) on host bda3node03.vtb24.ru (id=5) exited with 255 and expected 0

How to deal with this?