[ https://issues.apache.org/jira/browse/YARN-10524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338978#comment-17338978 ]
Andras Gyori commented on YARN-10524: ------------------------------------- Hi [~zhuqi]. Can you describe the connection between this Jira, YARN-10592 and YARN-9936? I think they are really close feature-wise, but I am not sure whether YARN-9936 supports every use-case you would need. > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org