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

Propogate exceptions back to client when using hedging RM failover provider

    Details

    • Hadoop Flags:
      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
          Subru Krishnan
        2. YARN-5711-v1.patch
          20 kB
          Subru Krishnan
        3. YARN-5711-v2.patch
          9 kB
          Subru Krishnan

          Issue Links

            Activity

              People

              • Assignee:
                subru Subru Krishnan
                Reporter:
                subru Subru Krishnan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: