Merge pull request #114 from soulmachine/master

A little revise for the document
This commit is contained in:
Reynold Xin 2013-10-26 11:35:59 -07:00
commit 662ee9f321

View file

@ -1,10 +1,11 @@
Spark Docker files usable for testing and development purposes. Spark Docker files usable for testing and development purposes.
These images are intended to be run like so: These images are intended to be run like so:
docker run -v $SPARK_HOME:/opt/spark spark-test-master
docker run -v $SPARK_HOME:/opt/spark spark-test-worker <master_ip> docker run -v $SPARK_HOME:/opt/spark spark-test-master
docker run -v $SPARK_HOME:/opt/spark spark-test-worker <master_ip>
Using this configuration, the containers will have their Spark directories Using this configuration, the containers will have their Spark directories
mounted to your actual SPARK_HOME, allowing you to modify and recompile mounted to your actual `SPARK_HOME`, allowing you to modify and recompile
your Spark source and have them immediately usable in the docker images your Spark source and have them immediately usable in the docker images
(without rebuilding them). (without rebuilding them).