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

Improve error handling when application recovery fails with exception

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.3.0, 3.2.2, 3.1.4
    • resourcemanager
    • None
    • Reviewed

    Description

      There are edge cases when the application recovery fails with an exception.

      Example failure scenario:

      Currently the first exception will abort the recovery, and if there are X applications, there will be ~X passive -> active RM transition attempts - the passive -> active RM transition will only succeed when the last APP_REJECTED event is processed on the async dispatcher thread.

      Attachments

        1. YARN-7913.000.poc.patch
          2 kB
          Gergo Repas
        2. YARN-7913.001.patch
          12 kB
          wilfreds#1
        3. YARN-7913.002.patch
          12 kB
          wilfreds#1
        4. YARN-7913.003.patch
          12 kB
          wilfreds#1
        5. YARN-7913-branch-3.1.001.patch
          12 kB
          Szilard Nemeth
        6. YARN-7913-branch-3.1.001.patch
          12 kB
          wilfreds#1
        7. YARN-7913-branch-3.2.001.patch
          12 kB
          wilfreds#1

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wilfreds Wilfred Spiegelenburg
            grepas Gergo Repas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment