Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24700

AM shutdown terminates streaming application but marks it as successful

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 2.2.0
    • None
    • None

    Description

      While running Spark streaming applications on YARN in cluster mode, reboot/shutdown of the node hosting AM causes the application to terminate SparkContext and mark it as SUCCEEDED. This is misleading as:

      1. streaming applications are long-running and not expected to terminate
      2. setting spark.yarn.maxAppAttempts for application re-attempt does not take effect since this scenario is not recognized as a failure

      Please provide a workaround for resubmitting streaming/long-running applications in the case of AM shutdown.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nielango Niranjani
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: