hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5652) testRefreshNodesResourceWithResourceReturnInRegistration fails intermittently
Date Wed, 14 Sep 2016 14:05:21 GMT

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

Jason Lowe commented on YARN-5652:
----------------------------------

Looks closely related to YARN-4893 and YARN-5318.  YARN-4893 added a drainEvents to MockRM's
registerNode, but in this case the test is calling MockNM's registerNode method which appears
to have no corresponding drainEvents invocation.

> testRefreshNodesResourceWithResourceReturnInRegistration fails intermittently
> -----------------------------------------------------------------------------
>
>                 Key: YARN-5652
>                 URL: https://issues.apache.org/jira/browse/YARN-5652
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Jason Lowe
>
> Saw the following in a recent precommit:
> {noformat}
> Running org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService
> Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 18.639 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService
> testRefreshNodesResourceWithResourceReturnInRegistration(org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService)
 Time elapsed: 0.763 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<<memory:[4096, vCores:4]>> but was:<<memory:[2048,
vCores:2]>>
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService.testRefreshNodesResourceWithResourceReturnInRegistration(TestRMAdminService.java:286)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message