[ 
https://issues.apache.org/jira/browse/YARN-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981639#comment-15981639
 ] 

Jonathan Hung commented on YARN-5949:
-------------------------------------

Thanks [~xgong] for the review.

Right now the default policy is DefaultConfigurationMutationPolicy. I was 
thinking the policy would be enforced in MutableCSConfigurationProvider instead 
of the REST API, so if they want to use the queue admin-based policy they can 
just configure {{yarn.scheduler.configuration.mutation.policy.class}} to 
QueueAdminConfigurationMutationPolicy. 

> Add pluggable configuration policy interface as a component of 
> MutableCSConfigurationProvider
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-5949
>                 URL: https://issues.apache.org/jira/browse/YARN-5949
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Hung
>            Assignee: Jonathan Hung
>         Attachments: YARN-5949-YARN-5734.001.patch
>
>
> This will allow different policies to customize how/if configuration changes 
> should be applied (for example, a policy might restrict whether a 
> configuration change by a certain user is allowed). This will be enforced by 
> the MutableCSConfigurationProvider.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to