[
https://issues.apache.org/jira/browse/YARN-7411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975442#comment-16975442
]
Eric Payne commented on YARN-7411:
----------------------------------
[~sunilg] and [~leftnoteasy]. I backported this JIRA to branch-2 but had to
revert it when I discovered that it prevented nodemanagers from coming up if
there are extended resources defined.
Looking deeper, I discovered that this JIRA removed the following code in
{{ResourcePBImpl#initResources}}
{code}
-
- // Update missing resource information on respective index.
- updateResourceInformationMap(types);
- }
-
- private void updateResourceInformationMap(ResourceInformation[] types) {
- for (int i = 0; i < types.length; i++) {
- if (resources[i] == null) {
- resources[i] = ResourceInformation.newInstance(types[i]);
- }
- }
{code}
Further digging showed that this was put back in YARN-7483.
Next, I will attempt to backport these 2 patches together, but I thought it
would be better to revert YARN-7411 until I'm sure there are no more
dependencies.
> Inter-Queue preemption's computeFixpointAllocation need to handle absolute
> resources while computing normalizedGuarantee
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: YARN-7411
> URL: https://issues.apache.org/jira/browse/YARN-7411
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: YARN-5881
> Reporter: Sunil G
> Assignee: Sunil G
> Priority: Major
> Fix For: 3.1.0
>
> Attachments: YARN-7411-YARN-5881.004.patch,
> YARN-7411-YARN-5881.005.patch, YARN-7411.001.patch,
> YARN-7441.YARN-5881.002.patch, YARN-7441.YARN-5881.003.patch
>
>
> {{normalizedGuarantee}} is computed based on queue's capacity. This has to be
> updated correctly when CS starts to accept queue's capacity in terms of
> absolute resource.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]