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 "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2017/10/04 21:05:00 UTC

[jira] [Updated] (YARN-7122) TestReservationSystemInvariants and TestSLSRunner fail

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

Akira Ajisaka updated YARN-7122:
--------------------------------
    Attachment: YARN-7122.001.patch

After YARN-6640, AM throws InvalidApplicationMasterRequestException if when request.responseId > lastResponseId. In AMSimulator, the response id of the request is wrongly initialized to 1, and it passed unintentionally before YARN-6640.

001 patch
* Initialize the response id to 0
* Avoid incrementing the response id to avoid overflow

> TestReservationSystemInvariants and TestSLSRunner fail
> ------------------------------------------------------
>
>                 Key: YARN-7122
>                 URL: https://issues.apache.org/jira/browse/YARN-7122
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>         Attachments: YARN-7122.001.patch
>
>
> {noformat}
> Running org.apache.hadoop.yarn.sls.TestReservationSystemInvariants
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 12.528 sec <<< FAILURE! - in org.apache.hadoop.yarn.sls.TestReservationSystemInvariants
> testSimulatorRunning[Testing with: SYNTH, org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler, (nodeFile null)](org.apache.hadoop.yarn.sls.TestReservationSystemInvariants)  Time elapsed: 8.845 sec  <<< FAILURE!
> java.lang.AssertionError: TestSLSRunner catched exception from child thread (TaskRunner.Task): [java.lang.reflect.UndeclaredThrowableException, java.lang.reflect.UndeclaredThrowableException, java.lang.reflect.UndeclaredThrowableException, java.lang.reflect.UndeclaredThrowableException, java.lang.reflect.UndeclaredThrowableException, java.lang.reflect.UndeclaredThrowableException]
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.hadoop.yarn.sls.BaseSLSRunnerTest.runSLS(BaseSLSRunnerTest.java:127)
> 	at org.apache.hadoop.yarn.sls.TestReservationSystemInvariants.testSimulatorRunning(TestReservationSystemInvariants.java:69)
> {noformat}



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

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