presto-spark-package-0.264.tar.gzpresto-spark-launcher-0.264.jar
示例目录 双节点Spark集群
task.concurrency=4
task.max-worker-threads=4
task.writer-count=4
注意
4 参数同步启动 spark://spark-master:7077
query.sql
示例目录 spark-submit
/spark/bin/spark-submit \
--master spark://spark-master:7077 \
--executor-cores 4 \
--conf spark.task.cpus=4 \
--class com.facebook.presto.spark .launcher.PrestoSparkLauncher \
presto-spark-launcher-0.264.jar \
--package presto-spark-package-0.264.tar.gz \
--config /presto/etc/config.properties \
--catalogs /presto/etc/目录 \
--catalog hive \
--schema 默认 \
--file query.sql
executor-cores spark.task.cpus