Skip to content

Commit 8df8275

Browse files
authored
Update pyspark example in README
1 parent a0744a4 commit 8df8275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To start `spark-shell` with your AWS credentials:
1616
To do a thing with Pyspark
1717

1818
echo "import pyspark\nprint(pyspark.SparkContext().parallelize(range(0, 10)).count())" > count.py
19-
docker run --rm -it -p 4040:4040 -v $(pwd)/count.py:/count.py gettyimages/spark bin/pyspark /count.py
19+
docker run --rm -it -p 4040:4040 -v $(pwd)/count.py:/count.py gettyimages/spark bin/spark-submit /count.py
2020

2121
## docker-compose example
2222

0 commit comments

Comments
 (0)