[
https://issues.apache.org/jira/browse/YARN-6471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022164#comment-16022164
]
Wangda Tan commented on YARN-6471:
----------------------------------
Thanks [~sunilg],
Questions/comments:
1. CSQueue:
- Naming is not consistent: should we add "normalize-up/down" to all
"get-effective-*" or we should remove all "normalize*" but keep it in the
javadocs?
2. What is the story of non-exclusive node labels?
3. PriorityUtilizationQueueOrderingPolicy
{code}
Resource minEffRes1 = q1.getQueueResourceQuotas()
.getEffectiveMinResource(p);
Resource minEffRes2 = q2.getQueueResourceQuotas()
.getEffectiveMinResource(p);
if (!minEffRes1.equals(Resources.none())
&& !minEffRes2.equals(Resources.none())) {
return minEffRes2.compareTo(minEffRes1);
}
{code}
Should we compare configured-resource instead of effective-resource? And should
we use the flag which indicate it is percentage or absolute?
4. Does this include changes to Preemption or it is just try not to break
existing preemption logic when percentage capacity is used.
> Support to add min/max resource configuration for a queue
> ---------------------------------------------------------
>
> Key: YARN-6471
> URL: https://issues.apache.org/jira/browse/YARN-6471
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacity scheduler
> Reporter: Sunil G
> Assignee: Sunil G
> Attachments: YARN-6471.001.patch, YARN-6471.002.patch,
> YARN-6471.003.patch, YARN-6471.004.patch, YARN-6471.005.patch,
> YARN-6471.006.patch
>
>
> This jira will track the new configurations which are needed to configure min
> resource and max resource of various resource types in a queue.
> For eg:
> {noformat}
> yarn.scheduler.capacity.root.default.memory.min-resource
> yarn.scheduler.capacity.root.default.memory.max-resource
> yarn.scheduler.capacity.root.default.vcores.min-resource
> yarn.scheduler.capacity.root.default.vcores.max-resource
> {noformat}
> Uploading a patch soon
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]