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

Íñigo Goiri commented on YARN-2889:
-----------------------------------

For the first one, just use a different user name (say user1) in the new case; 
no point on changing others.
The other tests don't go over the limit.
Right now, with the new limit, we have three cases that I'd like to test:
* We actually limit. Say 2 as we have now.
* We don't limit with a -1 and we see that all of them pass.
* We limit with a number higher of the requests.

This would fully cover the new feature and not just rely.

> Limit the number of opportunistic container allocated per AM heartbeat
> ----------------------------------------------------------------------
>
>                 Key: YARN-2889
>                 URL: https://issues.apache.org/jira/browse/YARN-2889
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Konstantinos Karanasos
>            Assignee: Abhishek Modi
>            Priority: Major
>         Attachments: YARN-2889.001.patch, YARN-2889.002.patch, 
> YARN-2889.003.patch
>
>
> We introduce a way to limit the number of opportunistic containers that will 
> be allocated on each AM heartbeat.
>  This way we can restrict the number of opportunistic containers handed out 
> by the system, as well as throttle down misbehaving AMs (asking for too many 
> opportunistic containers).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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