Apache Spark development environment
318
This docker bootstrap script is used for developing Apache Spark. It seems that there is no bootstrap script for development environment for Apache Spark as far as I know.
A docker image named spark-dev will be created, if we run the below command.
This container is based on Ubuntu Trusty Tahr (14.04 LTS) and is conposed of Oracle Java7 and Scala 2.10.4.
# Run docker daemon If you don't
boot2docker init
boot2docker up
# Create a docker container
bash build.sh
docker run -i -t spark-dev /bin/bash
This bootstrap script already build the master branch of Apache Spark in order to pre-fetch dependent libraries.
The source code exists in /opt/spark.
So adding your github repository, you can immediatly use the development environment.
cd /opt/spark
git remote add dev git://your-github/forked/spark
If you want to deal with Spark source on a docker image without checking out, Docker provides you to share a directory between host machine and a docker image.
docker run -i -t -v /your/spark/source:/container/directory spark-dev /bin/bash
Content type
Image
Digest
sha256:67731afd0…
Size
1.5 GB
Last updated
almost 11 years ago
docker pull yuiskw/docker-spark-dev