hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Gyori (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-10524) Support multi resource type based weight mode in CS.
Date Fri, 21 May 2021 08:52:00 GMT

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

Andras Gyori resolved YARN-10524.
---------------------------------
    Resolution: Duplicate

> Support multi resource type based weight mode in CS.
> ----------------------------------------------------
>
>                 Key: YARN-10524
>                 URL: https://issues.apache.org/jira/browse/YARN-10524
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Qi Zhu
>            Assignee: Qi Zhu
>            Priority: Major
>
> In fair scheduler support multi resource based absolute and pecentage of the cluster. 
> For minResources, maxResources, maxContainerAllocation and maxChildResources properties
one can give the parameter in one of the following formats:
>  * _Old format_: “X mb, Y vcores”, “X% cpu, Y% memory”, “X%”. When not a
single percentage is provided, configuring both memory and cpu is mandatory, while other resource
types are ignored, and set to zero.
>  * _New format (recommended)_: “vcores=X, memory-mb=Y” or “vcores=X%, memory-mb=Y%”.
As seen, in this format one can give either a percentage or an integer resource value without
units. In the latter case the units will be inferred from the default units configured for
that resource. This format is required when resources other than memory and CPU are specified.
Any unspecified resource will be set to 0 in case of minResources, or to the maximum for that
resource in case of maxResources, maxContainerAllocation and maxChildResources.
> We should to discuss how to do in CapacityScheduler ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message