[
https://issues.apache.org/jira/browse/FLINK-9695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528881#comment-16528881
]
ASF GitHub Bot commented on FLINK-9695:
---------------------------------------
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/6232#discussion_r199331211
--- Diff:
flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/MesosTaskManagerParameters.java
---
@@ -101,6 +101,12 @@
.withDescription("Custom parameters to be passed into docker
run command when using the docker containerizer." +
" Comma separated list of \"key=value\" pairs. The
\"value\" may contain '='.");
+ public static final ConfigOption<Boolean>
MESOS_RM_CONTAINER_DOCKER_FORCE_PULL_IMAGE =
+
key("mesos.resourcemanager.tasks.container.docker.forcePullImage")
--- End diff --
In order to make it consistent with other configuration options, we should
name this config option `force-pull-image`.
> Add option for Mesos executor to forcefully pull Docker images
> --------------------------------------------------------------
>
> Key: FLINK-9695
> URL: https://issues.apache.org/jira/browse/FLINK-9695
> Project: Flink
> Issue Type: Improvement
> Components: Mesos
> Reporter: Leonid Ishimnikov
> Assignee: Leonid Ishimnikov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> It would be useful to have an option to forcefully pull Docker images for
> tasks, rather than reuse a previously cached image. Such option exists in
> many Mesos frameworks, and it significantly simplifies debugging. I propose
> adding a new {{mesos.resourcemanager.tasks.container.docker.forcePullImage}}
> option.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)