Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5597 YARN Federation improvements
  3. YARN-11011

Make YARN Router throw Exception to client clearly

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When router submits job to yarn, the job is rejected by yarn for some reason. Yarn router just throw exception to log and return not enough info to client.

      The router always throws the following non-obvious error to client:
      Exception in thread "main" org.apache.hadoop.yarn.server.federation.policies.exceptions.FederationPolicyException:
      No active SubCluster available to submit the request.

      To make it easy for the user to locate the cause of a job submission failure, we need to make Router throw the true cause of the error to the client clearly.

      Attachments

        1. router-error.png
          169 kB
          Yuan Luo

        Activity

          People

            slfan1989 Shilun Fan
            luoyuan Yuan Luo
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 20m
                20m