
* Pod -> ReplicationController, which also forced me to hack around hostname issue on the master. (Spark master sees the incoming slave request to spark-master and assumes it's not meant for it, since it's name is spark-master-controller-abcdef.) * Remove service env dependencies (depend on DNS instead). * JSON -> YAML. * Add GCS connector. * Make example do something actually useful: A familiar example to anyone at Google, implement wordcount of all of Shakespeare's works. * Fix a minor service connection issue in the gluster example.
8 lines
161 B
Docker
8 lines
161 B
Docker
FROM gcr.io/google_containers/spark-base:latest
|
|
|
|
ADD start.sh /
|
|
ADD log4j.properties /opt/spark/conf/log4j.properties
|
|
EXPOSE 7077 8080
|
|
|
|
ENTRYPOINT ["/start.sh"]
|