bc Wong commented on YARN-2669:

* When throwing an error, would also output the offending queueName.

* Would log when you convert the username to one that doesn't have a queue.
* I'm worried about username conflicts after the conversion, e.g. "eric.koffee" 
== "erick.offee". Replacing the dot with something else helps, but doesn't 
eliminate the problem. You'd need some escaping rule, like replacing any 
naturally occurring single underscore with two underscores, and then replacing 
a dot with a single underscore.

> FairScheduler: queueName shouldn't allow periods the allocation.xml
> -------------------------------------------------------------------
>                 Key: YARN-2669
>                 URL: https://issues.apache.org/jira/browse/YARN-2669
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>            Priority: Minor
>         Attachments: YARN-2669-1.patch, YARN-2669-2.patch
> For an allocation file like:
> {noformat}
> <allocations>
>   <queue name="root.q1">
>     <minResources>4096mb,4vcores</minResources>
>   </queue>
> </allocations>
> {noformat}
> Users may wish to config minResources for a queue with full path "root.q1". 
> However, right now, fair scheduler will treat this configureation for the 
> queue with full name "root.root.q1". We need to print out a warning msg to 
> notify users about this.

This message was sent by Atlassian JIRA

Reply via email to