You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,21 +3,36 @@
3
3
4
4
A `debian:jessie` based [Spark](http://spark.apache.org) container. Use it in a standalone cluster with the accompanying `docker-compose.yml`, or as a base for more complex recipes.
5
5
6
-
## example
6
+
## docker example
7
+
8
+
To run `SparkPi`, run the image with Docker:
9
+
10
+
docker run --rm -it gettyimages/spark bin/run-example SparkPi 10
11
+
12
+
To start `spark-shell` with your AWS credentials:
13
+
14
+
docker run --rm -it -e "AWS_ACCESS_KEY_ID=YOURKEY" -e "AWS_SECRET_ACCESS_KEY=YOURSECRET" gettyimages/spark bin/spark-shell
0 commit comments