[ https://issues.apache.org/jira/browse/YARN-11192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fanshilun updated YARN-11192: ----------------------------- Description: In YARN-9827, the following modifications: {code:java} GenericExceptionHandler should respond with SERVICE_UNAVAILABLE in case of connection and service unavailable exception instead of INTERNAL_SERVICE_ERROR. {code} This modification caused all of YARN Federation's TestRouterWebServicesREST unit tests to fail {code:java} [ERROR] Tests run: 201, Failures: 15, Errors: 0, Skipped: 0, Flakes: 2 ..... [ERROR] org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testUpdateAppStateXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) [ERROR] Run 1: TestRouterWebServicesREST.testUpdateAppStateXML:774 expected:<500> but was:<503> [ERROR] Run 2: TestRouterWebServicesREST.testUpdateAppStateXML:774 expected:<500> but was:<503> [ERROR] Run 3: TestRouterWebServicesREST.testUpdateAppStateXML:774 expected:<500> but was:<503> {code} Report-URL: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4464/5/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt was: In YARN-9827, the following modifications: {code:java} GenericExceptionHandler should respond with SERVICE_UNAVAILABLE in case of connection and service unavailable exception instead of INTERNAL_SERVICE_ERROR. {code} This modification caused all of YARN Federation's TestRouterWebServicesREST unit tests to fail {code:java} [ERROR] Tests run: 201, Failures: 15, Errors: 0, Skipped: 0, Flakes: 2 ..... [ERROR] org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testUpdateAppStateXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) [ERROR] Run 1: TestRouterWebServicesREST.testUpdateAppStateXML:774 expected:<500> but was:<503> [ERROR] Run 2: TestRouterWebServicesREST.testUpdateAppStateXML:774 expected:<500> but was:<503> [ERROR] Run 3: TestRouterWebServicesREST.testUpdateAppStateXML:774 expected:<500> but was:<503> {code} > TestRouterWebServicesREST failing after YARN-9827 > ------------------------------------------------- > > Key: YARN-11192 > URL: https://issues.apache.org/jira/browse/YARN-11192 > Project: Hadoop YARN > Issue Type: Bug > Components: federation > Affects Versions: 3.4.0 > Reporter: fanshilun > Assignee: fanshilun > Priority: Major > > In YARN-9827, the following modifications: > {code:java} > GenericExceptionHandler should respond with SERVICE_UNAVAILABLE in case of > connection and service unavailable exception instead of > INTERNAL_SERVICE_ERROR. {code} > This modification caused all of YARN Federation's TestRouterWebServicesREST > unit tests to fail > {code:java} > [ERROR] Tests run: 201, Failures: 15, Errors: 0, Skipped: 0, Flakes: 2 > ..... > [ERROR] > org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testUpdateAppStateXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) > [ERROR] Run 1: TestRouterWebServicesREST.testUpdateAppStateXML:774 > expected:<500> but was:<503> > [ERROR] Run 2: TestRouterWebServicesREST.testUpdateAppStateXML:774 > expected:<500> but was:<503> > [ERROR] Run 3: TestRouterWebServicesREST.testUpdateAppStateXML:774 > expected:<500> but was:<503> {code} > Report-URL: > https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4464/5/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org