Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36623 Improve spark exit logic
  3. SPARK-37097

yarn-cluster mode, unregister timeout cause spark retry but AM container exit with code 0

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • SQL
    • None

    Description

      1. Cluster mode AM shutdown hook triggered
      2. am unregister from RM timeout, but AM shutdown hook have try catch, so AM container exit with code 0.
      3. Since RM lose connection with AM, then treat this container as failed.
      4. Then client side got application report as final status failed but am container exit code 0. Then retry.

      Attachments

        Activity

          People

            Unassigned Unassigned
            angerszhuuu angerszhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: