[
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: [email protected]
For additional commands, e-mail: [email protected]