Skip to content

Duplicate SparkApplication submission causes failure #2573

@allen-zhang-akunacapital

Description

What happened?

  • ✋ I have searched the open/closed issues and my issue is not listed.

I have upgraded to 2.1.1 and it looks like the controller initially tries to submit the same application 2 times, which causes error like:

failed: failed to submit spark application: failed  │
│ to run spark-submit: driver pod already exist

another side-effect is the UI svc and ingress don't get created either because they occur after SparkApplication enters submitted state

Reproduction Code

No response

Expected behavior

No response

Actual behavior

No response

Environment & Versions

  • Kubernetes Version:
  • Spark Operator Version:
  • Apache Spark Version:

Additional context

No response

Impacted by this bug?

Give it a 👍 We prioritize the issues with most 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions