Mesosphere mesos image for running master and slave. See https://github.com/mangalaman93/dspark.
189
Run spark in docker containers. For more details, checkout wiki
docker run --net=compose_default --rm -it mangalaman93/executor:2.1.0 /opt/spark/bin/spark-shell --master mesos://zk://$HOST_IP:2181,$HOST_IP:2182,$HOST_IP:2183/mesos --conf spark.mesos.executor.docker.image=mangalaman93/spark --conf spark.mesos.executor.home=/opt/spark
val textFile = sc.textFile("/opt/spark/README.md")
textFile.map(line => line.split(" ").size).reduce((a, b) => if (a > b) a else b)
shuffle service in the host network modenamenode and datanode services in the host network modeContent type
Image
Digest
Size
136.3 MB
Last updated
over 9 years ago
docker pull mangalaman93/mesos