Philipp Hoffmann
authored
## What changes were proposed in this pull request? Mesos agents by default will not pull docker images which are cached locally already. In order to run Spark executors from mutable tags like `:latest` this commit introduces a Spark setting `spark.mesos.executor.docker.forcePullImage`. Setting this flag to true will tell the Mesos agent to force pull the docker image (default is `false` which is consistent with the previous implementation and Mesos' default behaviour). ## How was this patch tested? I ran a sample application including this change on a Mesos cluster and verified the correct behaviour for both, with and without, force pulling the executor image. As expected the image is being force pulled if the flag is set. Author: Philipp Hoffmann <mail@philipphoffmann.de> Closes #13051 from philipphoffmann/force-pull-image.
Name | Last commit | Last update |
---|---|---|
.. | ||
spark-deps-hadoop-2.2 | ||
spark-deps-hadoop-2.3 | ||
spark-deps-hadoop-2.4 | ||
spark-deps-hadoop-2.6 | ||
spark-deps-hadoop-2.7 |