Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoiding Duplicate Execution Due to code.py Name Conflict in Python #2421

Open
fedeful opened this issue Feb 4, 2025 · 0 comments
Open

Avoiding Duplicate Execution Due to code.py Name Conflict in Python #2421

fedeful opened this issue Feb 4, 2025 · 0 comments
Labels
kind/bug Something isn't working

Comments

@fedeful
Copy link

fedeful commented Feb 4, 2025

What happened?

When I create an application that has a file named "code.py" as the value for mainApplicationFile, this causes the code to execute twice when there are certain imports in the source file. This is probably due to interference with the module in Python's standard library.

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 👍

@fedeful fedeful added the kind/bug Something isn't working label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant