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

Propogate exceptions back to client when using hedging RM failover provider

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When RM failsover, it does not auto re-register running apps and so they need to re-register when reconnecting to new primary. This is done by catching ApplicationMasterNotRegisteredException in allocate calls and re-registering. But RequestHedgingRMFailoverProxyProvider does not propagate YarnException as the actual invocation is done asynchronously using seperate threads, so AMs cannot reconnect to RM after failover.

      This JIRA proposes that the RequestHedgingRMFailoverProxyProvider propagate any YarnException that it encounters.

      Attachments

        1. YARN-5711.v1.1.patch
          10 kB
          Subramaniam Krishnan
        2. YARN-5711-v1.patch
          20 kB
          Subramaniam Krishnan
        3. YARN-5711-v2.patch
          9 kB
          Subramaniam Krishnan

        Issue Links

          Activity

            People

              subru Subramaniam Krishnan
              subru Subramaniam Krishnan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: