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

Jason Lowe commented on YARN-5349:
----------------------------------

Ran into this on branch-2.8 recently.  Looks like the unit test, and other unit 
tests in this suite, make the assumption that containers will never be 
allocated in the response to the first allocate call.  That's an incorrect 
assumption.  It also assumes that all of the containers requested will arrive 
in the same response which is also incorrect.

[~sandflee] are you still planning on posting a patch for this?

> TestWorkPreservingRMRestart#testUAMRecoveryOnRMWorkPreservingRestart  fail 
> intermittently
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-5349
>                 URL: https://issues.apache.org/jira/browse/YARN-5349
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: sandflee
>            Assignee: sandflee
>            Priority: Minor
>
> {noformat}
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:86)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at org.junit.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testUAMRecoveryOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:1463)
> {noformat}
> https://builds.apache.org/job/PreCommit-YARN-Build/12250/testReport/org.apache.hadoop.yarn.server.resourcemanager/TestWorkPreservingRMRestart/testUAMRecoveryOnRMWorkPreservingRestart/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to