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

Wangda Tan commented on YARN-3686:
----------------------------------

[~sunilg], thanks for working on this, comments:
- I think you can try to add to 
{{org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeNodeLabelExpressionInRequest(ResourceRequest,
 QueueInfo)}}, which needs trim node-label-expression as well
- Actually this is a regression, in 2.6 queue's node label expression with 
spaces can setup without any issue. It's better to add test to make sure 1. 
spaces in resource request will be trimmed 2. spaces in queue configuration 
(default-node-label-expression) will be trimmed.

> CapacityScheduler should trim default_node_label_expression
> -----------------------------------------------------------
>
>                 Key: YARN-3686
>                 URL: https://issues.apache.org/jira/browse/YARN-3686
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, client, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Sunil G
>            Priority: Critical
>         Attachments: 0001-YARN-3686.patch, 0002-YARN-3686.patch
>
>
> We should trim default_node_label_expression for queue before using it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to