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
12
12
The SparkUI will be running at ` http://${YOUR_DOCKER_HOST}:8080 ` with one worker listed. To run ` spark-shell ` , exec into a container:
13
13
14
14
docker exec -it dockerspark_master_1 /bin/bash
15
- /usr/spark/bin/spark-shell --master spark://master:7077
15
+ /usr/spark/bin/spark-shell
16
16
17
17
To run ` SparkPi ` , exec into a container:
18
18
19
19
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
21
21
22
22
## license
23
23
Original file line number Diff line number Diff line change 4
4
hostname : master
5
5
environment :
6
6
SPARK_CONF_DIR : /conf
7
+ MASTER : spark://master:7077
7
8
expose :
8
9
- 7001
9
10
- 7002
You can’t perform that action at this time.
0 commit comments