[
https://issues.apache.org/jira/browse/YARN-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329949#comment-14329949
]
Sunil G commented on YARN-2986:
-------------------------------
Thank you [~leftnoteasy], this is much awaited ticket :)
I have few inputs on same.
1.
{noformat}
<policy-properties>
<resource-calculator>
org.apache.hadoop.yarn.util.resource.DominantResourceCalculator
</resource-calculator>
</policy-properties>
{noformat}
and
{noformat}
<policy-properties>
<user-limit-factor>2</user-limit-factor>
{noformat}
This is inside queue.
Do you mean that, non repeating items are kept outside loop of queues and
changing items are kept inside each queue?
Hoewever if i have only one set userlimit, node labels etc, and if i keep all
of those policy-properties outside *queue* section, then will it be applicable
for all queues?
If not, I suggest we can have policy-property name concept.
{noformat}
<queue name="default">
<state>RUNNING</state>
<acl_submit_applications>*</acl_submit_applications>
<acl_administer_queue>*</acl_administer_queue>
<accessible-node-labels>x</accessible-node-labels>
<policy-properties>gpu</policy-properties>
</queue>
<queue name="queueA">
<state>RUNNING</state>
<acl_submit_applications>*</acl_submit_applications>
<acl_administer_queue>*</acl_administer_queue>
<accessible-node-labels>x</accessible-node-labels>
<policy-properties>gpu</policy-properties>
</queue>
<policy-properties name=gpu>
<user-limit-factor>2</user-limit-factor>
<node-labels>
<node-label name="x">
<capacity>20</capacity>
<maximum-capacity>50</maximum-capacity>
</node-label>
</node-labels>
{noformat}
It cab be shared as needed across queues. And will make the queue part more
readable.
> (Umbrella) Support hierarchical and unified scheduler configuration
> -------------------------------------------------------------------
>
> Key: YARN-2986
> URL: https://issues.apache.org/jira/browse/YARN-2986
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Wangda Tan
> Attachments: YARN-2986.1.patch
>
>
> Today's scheduler configuration is fragmented and non-intuitive, and needs to
> be improved. Details in comments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)