Browse Source

feat:修改模型评估时的执行器内存

zhaohaipeng 5 months ago
parent
commit
11fa73b5cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ad/01_ad_model_update.sh

+ 1 - 1
ad/01_ad_model_update.sh

@@ -268,7 +268,7 @@ model_predict() {
   local step_start_time=$(date +%s)
   /opt/apps/SPARK3/spark-3.3.1-hadoop3.2-1.0.5/bin/spark-class org.apache.spark.deploy.SparkSubmit \
   --class com.tzld.piaoquan.recommend.model.pred_01_xgb_ad_hdfsfile_20240813 \
-  --master yarn --driver-memory 1G --executor-memory 1G --executor-cores 1 --num-executors 30 \
+  --master yarn --driver-memory 1G --executor-memory 3G --executor-cores 1 --num-executors 30 \
   --conf spark.yarn.executor.memoryoverhead=1024 \
   --conf spark.shuffle.service.enabled=true \
   --conf spark.shuffle.service.port=7337 \