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

Weiwei Yang updated YARN-8971:
------------------------------
    Description: 
This UT seems not work properly.
{code:java}
// Ask 4GB succeeded.
am1.allocate("*", 4 * GB, 1, null);
{code}
this should not success because it exceeds max node allocation (2GB). It just 
did not throw an exception (but we saw exception on branch-2.8). See more in 
YARN-8858.

We need to improve this UT and let it run more consistently.

  was:
This UT seems not work properly.

{code}

// Ask 4GB succeeded.
am1.allocate("*", 4 * GB, 1, null);

{code}

this should not success because it exceeds max node allocation (2GB). It just 
did not throw an exception (but we saw exception on branch-2.8). See more in 
YARN-8858.

We need to improve this UT and let it run more consistently.


> Improvement to 
> TestContainerAllocation#testContainerRejectionWhenAskBeyondDynamicMax
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-8971
>                 URL: https://issues.apache.org/jira/browse/YARN-8971
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Weiwei Yang
>            Priority: Minor
>
> This UT seems not work properly.
> {code:java}
> // Ask 4GB succeeded.
> am1.allocate("*", 4 * GB, 1, null);
> {code}
> this should not success because it exceeds max node allocation (2GB). It just 
> did not throw an exception (but we saw exception on branch-2.8). See more in 
> YARN-8858.
> We need to improve this UT and let it run more consistently.



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