dongjoon-hyun commented on PR #54558:
URL: https://github.com/apache/spark/pull/54558#issuecomment-3977259418

   Updated the screenshot. BTW, I observed a funny situation where the 
recovery-mode executor is much faster than the normal executor in the following 
case. It's a little counter-intuitive but it might be due to competition 
overhead in this simple SparkPi case. 😄 
   
   ```
   #!/bin/bash
   K8S_MASTER=$(kubectl config view --minify | yq '.clusters[0].cluster.server')
   
   bin/spark-submit \
   --master k8s://$K8S_MASTER \
   --deploy-mode cluster \
   -c spark.executor.cores=4 \
   -c spark.executor.memory=4g \
   -c spark.kubernetes.container.image=apache/spark:SPARK-55639 \
   -c spark.kubernetes.authenticate.driver.serviceAccountName=spark \
   -c spark.kubernetes.driver.pod.name=pi \
   -c spark.kubernetes.executor.podNamePrefix=pi \
   --class org.apache.spark.examples.SparkPi \
   local:///opt/spark/examples/jars/spark-examples.jar 300000
   ```


-- 
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