File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ To create a standalone cluster with [docker-compose](http://docs.docker.com/comp
1212The SparkUI will be running at ` http://${YOUR_DOCKER_HOST}:8080 ` with one worker listed. To run ` spark-shell ` , exec into a container:
1313
1414 docker exec -it dockerspark_master_1 /bin/bash
15- /usr/spark/bin/spark-shell --master spark://master:7077
15+ /usr/spark/bin/spark-shell
1616
1717To run ` SparkPi ` , exec into a container:
1818
1919 docker exec -it dockerspark_master_1 /bin/bash
20- MASTER=spark://master:7077 /usr/spark/bin/run-example SparkPi 10
20+ /usr/spark/bin/run-example SparkPi 10
2121
2222## license
2323
Original file line number Diff line number Diff line change 44 hostname : master
55 environment :
66 SPARK_CONF_DIR : /conf
7+ MASTER : spark://master:7077
78 expose :
89 - 7001
910 - 7002
You can’t perform that action at this time.
0 commit comments