[jira] [Updated] (YARN-2669) FairScheduler: queueName shouldn't allow periods the allocation.xml

2014-11-21 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2669:
--
Attachment: YARN-2669-5.patch

Thanks, [~sandyr]. A new patch is updated.

> 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, YARN-2669-3.patch, 
> YARN-2669-4.patch, YARN-2669-5.patch
>
>
> For an allocation file like:
> {noformat}
> 
>   
> 4096mb,4vcores
>   
> 
> {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)


[jira] [Updated] (YARN-2669) FairScheduler: queueName shouldn't allow periods the allocation.xml

2014-11-21 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2669:
--
Attachment: YARN-2669-4.patch

Update a patch to handle the periods in the user's specified queue name.
For queue name like ".A" or "A.", the scheduler will reject the job and print 
out a msg to the user. For queue name "A.B", it will be accepted.

> 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, YARN-2669-3.patch, 
> YARN-2669-4.patch
>
>
> For an allocation file like:
> {noformat}
> 
>   
> 4096mb,4vcores
>   
> 
> {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)


[jira] [Updated] (YARN-2669) FairScheduler: queueName shouldn't allow periods the allocation.xml

2014-10-27 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2669:
--
Attachment: YARN-2669-3.patch

Thanks for the comments, [~bcwalrus]. How about replace the "." with "_dot_"?

> 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, YARN-2669-3.patch
>
>
> For an allocation file like:
> {noformat}
> 
>   
> 4096mb,4vcores
>   
> 
> {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)


[jira] [Updated] (YARN-2669) FairScheduler: queueName shouldn't allow periods the allocation.xml

2014-10-25 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2669:
--
Attachment: YARN-2669-2.patch

Update a patch that covers the scenario when username contains period. Instead 
of throw exception, the current solution is the remove the periods directly, 
i.e., user "first.last" 's corresponding queue is "root.firstlast". Any 
comments? [~bcwalrus], [~sandyr]

> 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}
> 
>   
> 4096mb,4vcores
>   
> 
> {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)


[jira] [Updated] (YARN-2669) FairScheduler: queueName shouldn't allow periods the allocation.xml

2014-10-12 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2669:
--
Summary: FairScheduler: queueName shouldn't allow periods the 
allocation.xml  (was: FairScheduler: print out a warning log when users 
provider a queueName starting with "root." in the allocation.xml)

> 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
>
>
> For an allocation file like:
> {noformat}
> 
>   
> 4096mb,4vcores
>   
> 
> {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)