in Ambari we have the following feature that is disable , under yarn Configs
what is the relevant ambari rest api in order to change the state of CPU Scheduling from disable to enable ?
You may already know it involves changing two XML files, capacity-scheduler.xml and yarn-site.xml
Details are listed here: https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.6.5/bk_yarn-resource-management/content/enabling_c...
Alternatively, you can try the PUT method of Ambari Management API: https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md#put
about the API Ambari command cli , can you show me the full syntax that replace the disable to enable