xingnailu commented on issue #1450:
URL: 
https://github.com/apache/datafusion-comet/issues/1450#issuecomment-2684799391

   `if [[ ${package} == "comet" ]];then
     echo "run ${package} start..."
     $SPARK_HOME/bin/spark-submit \
       --files=$files \
       --jars $RUN_JAR,jvm-profiler-1.0.0.jar \
       --conf 
spark.yarn.dist.archives=hdfs://alg-hdfs/olivia/archive/${PYTHON_ARCH}#archives 
\
       --conf spark.yarn.appMasterEnv.PYSPARK_PYTHON=./archives/bin/python \
       --conf spark.pyspark.python=./archives/bin/python \
       --conf spark.yarn.queue=$yarn_queue \
       --conf spark.driver.memory=8G \
       --conf spark.executor.instances=6 \
       --conf spark.executor.memory=48G \
       --conf spark.executor.cores=8 \
       --conf spark.cores.max=8 \
       --conf spark.driver.extraClassPath=$RUN_JAR \
       --conf spark.executor.extraClassPath=$RUN_JAR \
       --conf spark.comet.enabled=true \
       --conf spark.comet.exec.enabled=true \
       --conf spark.comet.cast.allowIncompatible=true \
       --conf spark.comet.exec.shuffle.enabled=true \
       --conf spark.comet.exec.shuffle.mode=auto \
       --conf 
spark.shuffle.manager=org.apache.spark.sql.comet.execution.shuffle.CometShuffleManager
 \
       --conf spark.sql.extensions=org.apache.comet.CometSparkSessionExtensions 
\
       --conf spark.comet.exec.shuffle.fallbackToColumnar=true \
       --conf spark.comet.exec.shuffle.compression.codec=lz4 \
       --conf spark.comet.exec.replaceSortMergeJoin=true \
       --conf spark.hadoop.fs.oss.pread.lock-free=false \
       --conf spark.comet.metrics.detailed=true \
       --conf spark.comet.explain.native.enabled=true \
       
/data1/ide_oflow_scripts/dataland2/native_tpc_runners/pyspark/tpcbench.py \
       --benchmark tpch \
       --size ${size} \
       --format ${format} \
       --queries ./ \
       --iterations 1 \
       --output $OUT_PATH
   else 
     echo "run original spark start..."
     $SPARK_HOME/bin/spark-submit \
       --jars jvm-profiler-1.0.0.jar \
       --conf 
spark.yarn.dist.archives=hdfs://alg-hdfs/olivia/archive/${PYTHON_ARCH}#archives 
\
       --conf spark.yarn.appMasterEnv.PYSPARK_PYTHON=./archives/bin/python \
       --conf spark.pyspark.python=./archives/bin/python \
       --files=$files \
       --conf spark.yarn.queue=$yarn_queue \
       --conf spark.driver.memory=8G \
       --conf spark.executor.instances=6 \
       --conf spark.executor.memory=48G \
       --conf spark.executor.cores=8 \
       --conf spark.cores.max=8 \
       --conf spark.hadoop.fs.oss.pread.lock-free=false \
       
/data1/ide_oflow_scripts/dataland2/native_tpc_runners/pyspark/tpcbench.py \
       --benchmark tpch \
       --size ${size} \
       --format ${format} \
       --queries ./ \
       --iterations 1 \
       --output $OUT_PATH
   fi`


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