dongjoon-hyun opened a new pull request #34832:
URL: https://github.com/apache/spark/pull/34832


   ### What changes were proposed in this pull request?
   
   This PR aims to add a built-in plugin for K8s executor rolling decommission 
via the following.
   
   ```
   spark-3.3.0-SNAPSHOT-bin-3.3.1/bin/spark-submit \
   --master k8s://https://kubernetes.docker.internal:6443 \
   --deploy-mode cluster \
   -c spark.decommission.enabled=true \
   -c spark.plugins=org.apache.spark.scheduler.cluster.k8s.ExecutorRollPlugin \
   -c spark.kubernetes.executor.rollInterval=60 \
   -c spark.executor.instances=2 \
   -c spark.kubernetes.container.image=spark:latest \
   --class org.apache.spark.examples.SparkPi \
   local:///opt/spark/examples/jars/spark-examples_2.12-3.3.0-SNAPSHOT.jar 
200000
   ```
   
   ### Why are the changes needed?
   
   This built-in plug-in is helpful when we want to refresh the long-lived 
executors to new ones.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a new feature.
   
   ### How was this patch tested?
   
   Pass the K8s IT test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to