-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-33155][K8S] spark.kubernetes.pyspark.pythonVersion allows only '3' #30049
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
Conversation
|
Hi, @holdenk and @HyukjinKwon . |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Test build #129803 has finished for PR 30049 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Kubernetes integration test status failure |
|
Retest this please. |
|
Test build #129814 has finished for PR 30049 at commit
|
...tion-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/PythonTestsSuite.scala
Show resolved
Hide resolved
HyukjinKwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks we should change;
| version_check(sys.argv[1], 2 if sys.argv[1] == "python" else 3) |
to
version_check(sys.argv[1], 3)It was added from 1a644af#diff-ea97a33dc022bc99ad9f0b0f0031a3f9929aa2dec8a7e2e41b5bc8795fcab325R36
LGTM otherwise
|
Kubernetes integration test starting |
|
Test build #129820 has finished for PR 30049 at commit
|
|
Thank you so much, @HyukjinKwon ! |
|
Kubernetes integration test status success |
|
The test passed already in the previous commit. The last commit doesn't affect K8s IT result. |
|
Test build #129822 has finished for PR 30049 at commit
|
|
Test FAILed. |
| <td><code>"3"</code></td> | ||
| <td> | ||
| This sets the major Python version of the docker image used to run the driver and executor containers. Can either be 2 or 3. | ||
| This sets the major Python version of the docker image used to run the driver and executor containers. Can be 3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think Only 3 is available for Python3 like below looks better.
viirya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm too, just one minor comment.
What changes were proposed in this pull request?
This PR makes
spark.kubernetes.pyspark.pythonVersionallow only3. In other words, it will reject2forPython 2.Why are the changes needed?
After SPARK-32138, Apache Spark 3.1 dropped Python 2 support.
Does this PR introduce any user-facing change?
Yes, but Python 2 support is already dropped officially.
How was this patch tested?
Pass the CI.