Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
In YARN-9827, the following modifications:
GenericExceptionHandler should respond with SERVICE_UNAVAILABLE in case of connection and service unavailable exception instead of INTERNAL_SERVICE_ERROR.
This modification caused all of YARN Federation's TestRouterWebServicesREST unit tests to fail
[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>
Report-URL:
Attachments
Issue Links
- is caused by
-
YARN-9827 Fix Http Response code in GenericExceptionHandler.
- Resolved
- links to