fanshilun created YARN-11192:
--------------------------------

             Summary: 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


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}
 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to