[
https://issues.apache.org/jira/browse/YARN-9785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917706#comment-16917706
]
Bibin A Chundatt edited comment on YARN-9785 at 8/28/19 11:52 AM:
------------------------------------------------------------------
Sunil
Check the wip patch . Finding the following issue with approach considering
only the compare method
|CASE||Cluster Resource||lhs||rhs||Detail||STATUS||
|1|<0,0,0>|<1240,2,0>|<0,0,0>|NA|(/)|
|2|<10240,10,0>|<2048,2,0>|<2048,8,0>|calculateShares->firstShares lhs
..2,.2,INF
calculateShares-> secondShares rhs .2,.8,INF
compareShares -> .2,.2,INF to .2,.8,INF
compareShares -> INF,..2,.2 INF,.8,.2|(/)|
|3|<10240,10,0>|<4096,2,0>|<2048,8,0>|calculateShares->firstShares lhs
..4,.2,INF
calculateShares-> secondShares rhs .2,.8,INF
compareShares -> .4,.2,INF to .2,.8,INF
compareShares sort -> INF,.4,.2 INF,.8,.2
diff -.4 return -1|(x)|
*Detail in case of activate application:*
*rhs* -> amlimit
*lhs* -> amifStarted
_Resources.lessThanOrEqual(resourceCalculator, lastClusterResource,amIfStarted,
amLimit)_ -> true in *case 3* and application gets activated.
was (Author: bibinchundatt):
Sunil
Check the wip patch . Finding the following issue with approach considering
only the compare method
||Cluster Resource||lhs||rhs||Detail||STATUS||
|<0,0,0>|<1240,2,0>|<0,0,0>|NA|(/)|
|<10240,10,0>|<2048,2,0>|<2048,8,0>|calculateShares->firstShares lhs
..2,.2,INF
calculateShares-> secondShares rhs .2,.8,INF
compareShares -> .2,.2,INF to .2,.8,INF
compareShares -> INF,..2,.2 INF,.8,.2|(/)|
|<10240,10,0>|<4096,2,0>|<2048,8,0>|calculateShares->firstShares lhs
..4,.2,INF
calculateShares-> secondShares rhs .2,.8,INF
compareShares -> .4,.2,INF to .2,.8,INF
compareShares sort -> INF,.4,.2 INF,.8,.2
diff -.4 return -1 |(x)|
*Detail in case of activate application:*
*rhs* -> amlimit
*lhs* -> amifStarted
_Resources.lessThanOrEqual(resourceCalculator, lastClusterResource,amIfStarted,
amLimit)_ -> true and application gets activated.
> Application gets activated even when AM memory has reached
> ----------------------------------------------------------
>
> 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: [email protected]
For additional commands, e-mail: [email protected]