[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: (was: YARN-2134-v2.diff)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134-v2.diff, YARN-2134.diff
>
>
> Automatically created queues (f.e. by queue placement rules) doesn't allow to 
> set default parameters. If queue not configured explicitly, queue parameters 
> will be set from global defaults. This patch allows to use parent queue 
> parameters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: YARN-2134-v2.diff

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134-v2.diff, YARN-2134.diff
>
>
> Automatically created queues (f.e. by queue placement rules) doesn't allow to 
> set default parameters. If queue not configured explicitly, queue parameters 
> will be set from global defaults. This patch allows to use parent queue 
> parameters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: YARN-2134-v2.diff

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134-v2.diff, YARN-2134.diff
>
>
> Automatically created queues (f.e. by queue placement rules) doesn't allow to 
> set default parameters. If queue not configured explicitly, queue parameters 
> will be set from global defaults. This patch allows to use parent queue 
> parameters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Description: Automatically created queues (f.e. by queue placement rules) 
doesn't allow to set default parameters. If queue not configured explicitly, 
queue parameters will be set from global defaults. This patch allows to take 
them from upper level queues.  (was: Automatically created queues (f.e. by 
queue placement rules) doesn't allow to set default parameters. If queue not 
configured explicitly, queue parameters will be taken global defaults. This 
patch allows to take them from upper level queues.)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff
>
>
> Automatically created queues (f.e. by queue placement rules) doesn't allow to 
> set default parameters. If queue not configured explicitly, queue parameters 
> will be set from global defaults. This patch allows to take them from upper 
> level queues.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Description: Automatically created queues (f.e. by queue placement rules) 
doesn't allow to set default parameters. If queue not configured explicitly, 
queue parameters will be set from global defaults. This patch allows to use 
parent queue parameters.  (was: Automatically created queues (f.e. by queue 
placement rules) doesn't allow to set default parameters. If queue not 
configured explicitly, queue parameters will be set from global defaults. This 
patch allows to take them from upper level queues.)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff
>
>
> Automatically created queues (f.e. by queue placement rules) doesn't allow to 
> set default parameters. If queue not configured explicitly, queue parameters 
> will be set from global defaults. This patch allows to use parent queue 
> parameters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Description: Automatically created queues (f.e. by queue placement rules) 
doesn't allow to set default parameters. If queue not configured explicitly, 
queue parameters will be taken global defaults. This patch allows to take them 
from upper level queues.  (was: Automatically created queues doesn't allow to 
set default parameters. If queue not configured explicitly, queue parameters 
will be taken global defaults. This patch allows to take them from upper level 
queues.)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff
>
>
> Automatically created queues (f.e. by queue placement rules) doesn't allow to 
> set default parameters. If queue not configured explicitly, queue parameters 
> will be taken global defaults. This patch allows to take them from upper 
> level queues.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Description: Automatically created queues doesn't allow to set default 
parameters. If queue not configured explicitly, queue parameters will be taken 
global defaults. This patch allows to take them from upper level queues.  (was: 
AllocationConfiguration doesn't fully qualify queue names with respect to 
'root.' prefix. Such behaviour leads to situation where settings for nested 
queue doesn't take effect. 
Consider following config (working example in broken-hier-queues.diff attached) 
sub queue settings were not applied by method queueConf.getMaxResources.

{code:xml}

2048mb,10vcores

512mb,1vcores


{code}

I made patch, which unifies QueueName operations (remove those indexOf copy 
pastes) and apply some of settings in hierarchical manner  (say preemption 
timeout can be used from parent queue instead of global default).

Also it is interesting to introduce type safe object QueueName and replace 
String in interfaces, and I have made an attempt 
(https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), but 
looks like it lead to some inconsitancy and I think that it is not necessary 
right now).)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff
>
>
> Automatically created queues doesn't allow to set default parameters. If 
> queue not configured explicitly, queue parameters will be taken global 
> defaults. This patch allows to take them from upper level queues.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: (was: broken-hier-queues.diff)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff
>
>
> Automatically created queues doesn't allow to set default parameters. If 
> queue not configured explicitly, queue parameters will be taken global 
> defaults. This patch allows to take them from upper level queues.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: (was: YARN-2134.diff)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and I have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconsitancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: YARN-2134.diff

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and I have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconsitancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: (was: YARN-2134.diff)

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and I have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconsitancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: YARN-2134.diff

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and I have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconsitancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Fix Version/s: 2.5.0

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and a have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconstancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Description: 
AllocationConfiguration doesn't fully qualify queue names with respect to 
'root.' prefix. Such behaviour leads to situation where settings for nested 
queue doesn't take effect. 
Consider following config (working example in broken-hier-queues.diff attached) 
sub queue settings were not applied by method queueConf.getMaxResources.

{code:xml}

2048mb,10vcores

512mb,1vcores


{code}

I made patch, which unifies QueueName operations (remove those indexOf copy 
pastes) and apply some of settings in hierarchical manner  (say preemption 
timeout can be used from parent queue instead of global default).

Also it is interesting to introduce type safe object QueueName and replace 
String in interfaces, and I have made an attempt 
(https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), but 
looks like it lead to some inconstancy and I think that it is not necessary 
right now).

  was:
AllocationConfiguration doesn't fully qualify queue names with respect to 
'root.' prefix. Such behaviour leads to situation where settings for nested 
queue doesn't take effect. 
Consider following config (working example in broken-hier-queues.diff attached) 
sub queue settings were not applied by method queueConf.getMaxResources.

{code:xml}

2048mb,10vcores

512mb,1vcores


{code}

I made patch, which unifies QueueName operations (remove those indexOf copy 
pastes) and apply some of settings in hierarchical manner  (say preemption 
timeout can be used from parent queue instead of global default).

Also it is interesting to introduce type safe object QueueName and replace 
String in interfaces, and a have made an attempt 
(https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), but 
looks like it lead to some inconstancy and I think that it is not necessary 
right now).


> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and I have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconstancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Description: 
AllocationConfiguration doesn't fully qualify queue names with respect to 
'root.' prefix. Such behaviour leads to situation where settings for nested 
queue doesn't take effect. 
Consider following config (working example in broken-hier-queues.diff attached) 
sub queue settings were not applied by method queueConf.getMaxResources.

{code:xml}

2048mb,10vcores

512mb,1vcores


{code}

I made patch, which unifies QueueName operations (remove those indexOf copy 
pastes) and apply some of settings in hierarchical manner  (say preemption 
timeout can be used from parent queue instead of global default).

Also it is interesting to introduce type safe object QueueName and replace 
String in interfaces, and I have made an attempt 
(https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), but 
looks like it lead to some inconsitancy and I think that it is not necessary 
right now).

  was:
AllocationConfiguration doesn't fully qualify queue names with respect to 
'root.' prefix. Such behaviour leads to situation where settings for nested 
queue doesn't take effect. 
Consider following config (working example in broken-hier-queues.diff attached) 
sub queue settings were not applied by method queueConf.getMaxResources.

{code:xml}

2048mb,10vcores

512mb,1vcores


{code}

I made patch, which unifies QueueName operations (remove those indexOf copy 
pastes) and apply some of settings in hierarchical manner  (say preemption 
timeout can be used from parent queue instead of global default).

Also it is interesting to introduce type safe object QueueName and replace 
String in interfaces, and I have made an attempt 
(https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), but 
looks like it lead to some inconstancy and I think that it is not necessary 
right now).


> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Affects Versions: 2.5.0
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and I have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconsitancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: YARN-2134.diff

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Reporter: Andrey Stepachev
> Attachments: YARN-2134.diff, broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and a have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconstancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-2134) FairSchduler AllocationConfiguration doesn't treat hierarchical queues settings

2014-06-09 Thread Andrey Stepachev (JIRA)

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

Andrey Stepachev updated YARN-2134:
---

Attachment: broken-hier-queues.diff

> FairSchduler AllocationConfiguration doesn't treat hierarchical queues 
> settings
> ---
>
> Key: YARN-2134
> URL: https://issues.apache.org/jira/browse/YARN-2134
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: fairscheduler
>Reporter: Andrey Stepachev
> Attachments: broken-hier-queues.diff
>
>
> AllocationConfiguration doesn't fully qualify queue names with respect to 
> 'root.' prefix. Such behaviour leads to situation where settings for nested 
> queue doesn't take effect. 
> Consider following config (working example in broken-hier-queues.diff 
> attached) sub queue settings were not applied by method 
> queueConf.getMaxResources.
> {code:xml}
> 
> 2048mb,10vcores
> 
> 512mb,1vcores
> 
> 
> {code}
> I made patch, which unifies QueueName operations (remove those indexOf copy 
> pastes) and apply some of settings in hierarchical manner  (say preemption 
> timeout can be used from parent queue instead of global default).
> Also it is interesting to introduce type safe object QueueName and replace 
> String in interfaces, and a have made an attempt 
> (https://github.com/octo47/hadoop-common/tree/feature/octo/fs-queue-name), 
> but looks like it lead to some inconstancy and I think that it is not 
> necessary right now).



--
This message was sent by Atlassian JIRA
(v6.2#6252)