cd /usr/local/spark-2.4.0-bin-hadoop2.7
./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn --deploy-mode cluster --driver-memory 1G --num-executors 3 --executor-memory 1G --executor-cores 1 /usr/local/spark-2.4.0-bin-hadoop2.7/examples/jars/spark-examples_2.11-2.4.0.jar 10
client token: N/A
diagnostics: Max number of executor failures (3) reached
ApplicationMaster host: slave1
ApplicationMaster RPC port: 40027
queue: default
start time: 1706857167171
final status: FAILED
tracking URL: http://master:8088/proxy/application_1706586073862_0013/
user:
2024-02-02 14:59:45 ERROR Client:70 - Application diagnostics message: Max number of executor failures (3) reached