-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-43342][K8S] Support driver and executors to shared same Kubernetes PVC #41057
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
…tor PVC dynamic allocation failure" This reverts commit b065c94.
|
@dongjoon-hyun @cometta would be good if you have time to review this PR |
| CONTAINER_MOUNT_PATH) | ||
| .set(s"spark.kubernetes.executor.volumes.persistentVolumeClaim.data.options.claimName", | ||
| PVC_NAME) | ||
| .set(s"spark.executor.instances", "2") |
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.
Sorry but I would disagree with this test case because the underlying is not NFS.
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.
I'm trying to see if it's possible to set up NFS in k8s integration testing.
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.
-1 for the indention of this PR. We need more specialization to be valid.
Support driver and executors to shared same Kubernetes PVC
|
I wrote a clean-revert PR with your authorship. Reverting PR should follow this style instead of claiming a new contribution like |
|
Replaced this with #41069 |
…e for executor PVC dynamic allocation failure ### What changes were proposed in this pull request? This reverts commit b065c94. ### Why are the changes needed? To remove the regression from SPARK-39006. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes #41057 Closes #41069 from dongjoon-hyun/SPARK-43342. Authored-by: Qian.Sun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 3ba1fa3) Signed-off-by: Dongjoon Hyun <[email protected]>
…e for executor PVC dynamic allocation failure ### What changes were proposed in this pull request? This reverts commit b065c94. ### Why are the changes needed? To remove the regression from SPARK-39006. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes #41057 Closes #41069 from dongjoon-hyun/SPARK-43342. Authored-by: Qian.Sun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
…e for executor PVC dynamic allocation failure ### What changes were proposed in this pull request? This reverts commit b065c94. ### Why are the changes needed? To remove the regression from SPARK-39006. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes apache#41057 Closes apache#41069 from dongjoon-hyun/SPARK-43342. Authored-by: Qian.Sun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
…e for executor PVC dynamic allocation failure ### What changes were proposed in this pull request? This reverts commit b065c94. ### Why are the changes needed? To remove the regression from SPARK-39006. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes apache#41057 Closes apache#41069 from dongjoon-hyun/SPARK-43342. Authored-by: Qian.Sun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 3ba1fa3) Signed-off-by: Dongjoon Hyun <[email protected]>
…e for executor PVC dynamic allocation failure ### What changes were proposed in this pull request? This reverts commit b065c94. ### Why are the changes needed? To remove the regression from SPARK-39006. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes apache#41057 Closes apache#41069 from dongjoon-hyun/SPARK-43342. Authored-by: Qian.Sun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 3ba1fa3) Signed-off-by: Dongjoon Hyun <[email protected]>
…e for executor PVC dynamic allocation failure ### What changes were proposed in this pull request? This reverts commit b065c94. ### Why are the changes needed? To remove the regression from SPARK-39006. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes apache#41057 Closes apache#41069 from dongjoon-hyun/SPARK-43342. Authored-by: Qian.Sun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 3ba1fa3) Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR reverts SPARK-39006 and add a case of sharing the same PVC between the driver and multiple executors in PV testing of integration testing.
Some PV types (such as NFS) support data sharing via the same PVC for multiple Pods. However, SPARK-39006 broke this scenario, causing multiple Pods unable to share the same PVC.
Why are the changes needed?
This is regression caused by SPARK-39006.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests, and added test scenarios