[ 
https://issues.apache.org/jira/browse/YARN-9785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16918380#comment-16918380
 ] 

Bilwa S T commented on YARN-9785:
---------------------------------

Hi [~leftnoteasy] 

I had added *resourceCalculator.fitsIn* to make sure AmIfStarted is less than 
AMLimit  because lessThanOrEqual will fail in a case where lhs.memory < 
rhs.memory && lhs.vcores > rhs.vcores . I think this part can be handled in 
Jira YARN-9797 . 

[~sunilg] WIP patch looks good. It handles if any resource is 0. We can go 
ahead with WIP patch.

> Fix DominantResourceCalculator when one resource is zero
> --------------------------------------------------------
>
>                 Key: YARN-9785
>                 URL: https://issues.apache.org/jira/browse/YARN-9785
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bilwa S T
>            Assignee: Bilwa S T
>            Priority: Blocker
>         Attachments: YARN-9785-001.patch, YARN-9785.wip.patch
>
>
> Configure below property in resource-types.xml
> {quote}<property>
>  <name>yarn.resource-types</name>
>  <value>yarn.io/gpu</value>
>  </property>
> {quote}
> Submit applications even after AM limit for a queue is reached. Applications 
> get activated even after limit is reached
> !queue.png!



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to