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

Andras Gyori commented on YARN-10682:
-------------------------------------

Thank you [~zhuqi]. Looks good to me, a straightforward patch, as configuration 
trimmed string is already tested, I would not bother with the testing either.

> The scheduler monitor policies conf should support trim between ",".
> --------------------------------------------------------------------
>
>                 Key: YARN-10682
>                 URL: https://issues.apache.org/jira/browse/YARN-10682
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler
>            Reporter: Qi Zhu
>            Assignee: Qi Zhu
>            Priority: Major
>         Attachments: YARN-10682.001.patch
>
>
> When i configured scheduler monitor policies with space, the RM will start 
> with error.
> The conf should support trim between "," , such as :
> "a,b,c" is supported now, but "a,   b,  c" is not supported now, just add 
> trim in this jira.
>  
> When tested multi policy, it happened.
>  <property>
>  <name>yarn.resourcemanager.scheduler.monitor.policies</name>
>  
> <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.QueueConfigurationAutoRefreshPolicy,
>    
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AutoCreatedQueueDeletionPolicy</value>
>  </property>
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to