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

spark-submit for k8s cluster doesn't propagate exit code

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.2, 2.4.0
    • Fix Version/s: None
    • Component/s: Kubernetes, Spark Submit
    • Labels:
      None

      Description

      When launching apps using spark-submit in a kubernetes cluster, if the Spark applications fails (returns exit code = 1 for example), spark-submit will still exit gracefully and return exit code = 0.

      This is problematic, since there's no way to know if there's been a problem with the Spark application.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oscar.bonilla Oscar Bonilla
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: