hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantinos Karanasos (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5351) ResourceRequest should take ExecutionType into account during comparison
Date Tue, 26 Jul 2016 03:14:20 GMT

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

Konstantinos Karanasos updated YARN-5351:
-----------------------------------------
    Attachment: YARN-5351.002.patch

Thanks for the feedback, [~asuresh].

As you suggest, I removed the {{enforceExecutionType}} from the comparison.
Also added test cases.

> 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
>         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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message