[
https://issues.apache.org/jira/browse/YARN-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830540#comment-15830540
]
ASF GitHub Bot commented on YARN-4212:
--------------------------------------
GitHub user flyrain opened a pull request:
https://github.com/apache/hadoop/pull/181
YARN-4212. FairScheduler: Parent queues is not allowed to be 'Fair' policy
if its children have the "drf" policy.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/flyrain/hadoop yarn-4212
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/181.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #181
----
commit 5eac6a6a6baf14f65e065b907ae8376b20e25b60
Author: Yufei Gu <[email protected]>
Date: 2017-01-19T18:39:27Z
YARN-4212. FairScheduler: Parent queues is not allowed to be 'Fair' policy
if its children have the "drf" policy.
----
> FairScheduler: Parent queues is not allowed to be 'Fair' policy if its
> children have the "drf" policy
> -----------------------------------------------------------------------------------------------------
>
> Key: YARN-4212
> URL: https://issues.apache.org/jira/browse/YARN-4212
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Arun Suresh
> Assignee: Yufei Gu
> Labels: fairscheduler
> Attachments: YARN-4212.002.patch, YARN-4212.003.patch,
> YARN-4212.004.patch, YARN-4212.005.patch, YARN-4212.006.patch,
> YARN-4212.007.patch, YARN-4212.1.patch
>
>
> The Fair Scheduler, while performing a {{recomputeShares()}} during an
> {{update()}} call, uses the parent queues policy to distribute shares to its
> children.
> If the parent queues policy is 'fair', it only computes weight for memory and
> sets the vcores fair share of its children to 0.
> Assuming a situation where we have 1 parent queue with policy 'fair' and
> multiple leaf queues with policy 'drf', Any app submitted to the child queues
> with vcore requirement > 1 will always be above fairshare, since during the
> recomputeShare process, the child queues were all assigned 0 for fairshare
> vcores.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]