You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/11/05 16:20:00 UTC

[jira] [Created] (YARN-8971) Improvement to TestContainerAllocation#testContainerRejectionWhenAskBeyondDynamicMax

Weiwei Yang created YARN-8971:
---------------------------------

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


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.



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

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