Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MESOS_IP=mesos://zk://10.2.95.5:2181/qs-dmitry-dgqt
- DRIVER_IP=10.2.95.5
- EXECUTOR_IMAGE=docker-dev.hli.io/ccm/hli-rspark-plink:2.0.1
- CORES=16
- RAM=50g
- ./bin/pyspark \
- --conf spark.master=${MESOS_IP} \
- --conf spark.driver.host=${DRIVER_IP} \
- --conf spark.driver.maxResultSize=5g \
- --conf spark.driver.memory=1g \
- --conf spark.driver.cores=1 \
- --conf spark.mesos.coarse=true \
- --conf spark.mesos.executor.docker.image=${EXECUTOR_IMAGE} \
- --conf spark.mesos.executor.home=/usr/local/spark \
- --conf spark.task.maxFailures=10 \
- --conf spark.executor.extraClassPath=/usr/local/spark/extra_jars/* \
- --conf spark.driver.extraClassPath=/usr/local/spark/extra_jars/* \
- --conf spark.sql.parquet.compression.codec=gzip \
- --conf spark.sql.warehouse.dir=file:///tmp \
- --conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
- --conf spark.kryoserializer.buffer.max=1g \
- --conf spark.task.cpus=1 \
- --conf spark.executor.memory=${RAM} \
- --conf spark.cores.max=${CORES} \
- --conf spark.sql.shuffle.partitions=2000 \
- --conf spark.shuffle.spill=true \
- --conf spark.executor.heartbeatInterval=10 \
- --conf spark.mesos.executor.docker.volumes=/docker:/docker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement