[
https://issues.apache.org/jira/browse/YARN-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396596#comment-15396596
]
Konstantinos Karanasos commented on YARN-5351:
----------------------------------------------
Thank you for the comment, [~kshukla].
Jenkins did not ran those test cases, so I missed them.
Problem was that those test cases are using {{BuilderUtils}} and the
{{ExecutionTypeRequest}} was not properly initialed.
[~subru] opened YARN-5441 for this issue, and there is already a patch
available that fixes the issue.
> ResourceRequest should take ExecutionType into account during comparison
> ------------------------------------------------------------------------
>
> Key: YARN-5351
> URL: https://issues.apache.org/jira/browse/YARN-5351
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Konstantinos Karanasos
> Assignee: Konstantinos Karanasos
> Fix For: 2.9.0
>
> Attachments: YARN-5351.001.patch, YARN-5351.002.patch
>
>
> {{ExecutionTypeRequest}} should be taken into account in the {{compareTo}}
> method of {{ResourceRequest}}.
> Otherwise, in the {{ask}} list of the {{AMRMClientImpl}} we may incorrectly
> add pending container requests in the presence of both GUARANTEED and
> OPPORTUNISTIC containers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]