Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. MESOS_IP=mesos://zk://10.2.95.5:2181/qs-dmitry-dgqt
  2. DRIVER_IP=10.2.95.5
  3. EXECUTOR_IMAGE=docker-dev.hli.io/ccm/hli-rspark-plink:2.0.1
  4. CORES=16
  5. RAM=50g
  6.  
  7. ./bin/pyspark \
  8. --conf spark.master=${MESOS_IP} \
  9. --conf spark.driver.host=${DRIVER_IP} \
  10. --conf spark.driver.maxResultSize=5g \
  11. --conf spark.driver.memory=1g \
  12. --conf spark.driver.cores=1 \
  13. --conf spark.mesos.coarse=true \
  14. --conf spark.mesos.executor.docker.image=${EXECUTOR_IMAGE} \
  15. --conf spark.mesos.executor.home=/usr/local/spark \
  16. --conf spark.task.maxFailures=10 \
  17. --conf spark.executor.extraClassPath=/usr/local/spark/extra_jars/* \
  18. --conf spark.driver.extraClassPath=/usr/local/spark/extra_jars/* \
  19. --conf spark.sql.parquet.compression.codec=gzip \
  20. --conf spark.sql.warehouse.dir=file:///tmp \
  21. --conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
  22. --conf spark.kryoserializer.buffer.max=1g \
  23. --conf spark.task.cpus=1 \
  24. --conf spark.executor.memory=${RAM} \
  25. --conf spark.cores.max=${CORES} \
  26. --conf spark.sql.shuffle.partitions=2000 \
  27. --conf spark.shuffle.spill=true \
  28. --conf spark.executor.heartbeatInterval=10 \
  29. --conf spark.mesos.executor.docker.volumes=/docker:/docker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement