Created
October 4, 2018 18:56
-
-
Save samklr/2d91ea6488d2fd075b289345f1f446ce 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
| version: '3' | |
| services: | |
| master: | |
| image: gettyimages/spark:2.2.1-hadoop-2.7 | |
| command: bin/spark-class org.apache.spark.deploy.master.Master | |
| ports: | |
| - 4040:4040 | |
| - 6066:6066 | |
| - 7077:7077 | |
| networks: | |
| - sparklr | |
| worker: | |
| image: gettyimages/spark:2.2.1-hadoop-2.7 | |
| command: bin/spark-class org.apache.spark.deploy.worker.Worker spark://master:7077 | |
| networks: | |
| - sparklr | |
| deploy: | |
| replicas: 2 | |
| spark-ui-proxy: | |
| image: markthebault/spark-ui-proxy | |
| command: master:8080 9090 | |
| ports: | |
| - 9090:9090 | |
| networks: | |
| - sparklr | |
| zeppelin: | |
| image: markthebault/zeppelin:0.7.3-spark2.2.1 | |
| ports: | |
| - 8080:8080 | |
| networks: | |
| - sparklr | |
| environment: | |
| - MASTER=spark://master:7077 | |
| networks: | |
| sparklr: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment