hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bc Wong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2669) FairScheduler: queueName shouldn't allow periods the allocation.xml
Date Sun, 26 Oct 2014 07:02:34 GMT

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

bc Wong commented on YARN-2669:
-------------------------------

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

QueuePlacementRule.java
* 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
(v6.3.4#6332)

Mime
View raw message