Last active
January 3, 2021 18:12
-
-
Save cordon-thiago/237ef82593ac2439986cf288255f7016 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spark-worker-n: | |
image: bitnami/spark:3.0.1 | |
networks: | |
- default_net | |
environment: | |
- SPARK_MODE=worker | |
- SPARK_MASTER_URL=spark://spark:7077 | |
- SPARK_WORKER_MEMORY=1G | |
- SPARK_WORKER_CORES=1 | |
- SPARK_RPC_AUTHENTICATION_ENABLED=no | |
- SPARK_RPC_ENCRYPTION_ENABLED=no | |
- SPARK_LOCAL_STORAGE_ENCRYPTION_ENABLED=no | |
- SPARK_SSL_ENABLED=no | |
volumes: | |
- ../spark/app:/usr/local/spark/app # Spark scripts folder (Must be the same path in airflow and Spark Cluster) | |
- ../spark/resources/data:/usr/local/spark/resources/data #Data folder (Must be the same path in airflow and Spark Cluster) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment