Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11192

TestRouterWebServicesREST failing after YARN-9827

    XMLWordPrintableJSON

Details

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

      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

      Attachments

        Issue Links

          Activity

            People

              slfan1989 Shilun Fan
              slfan1989 Shilun Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h