GitHub user lishim opened a pull request:

    https://github.com/apache/flink/pull/5346

    [FLINK-8490] [mesos] Allow custom docker parameters for docker tasks on 
Mesos

    ## What is the purpose of the change
    - This pull request introduces a feature that allows passing custom 
parameters to docker when using docker containerizer.
    
    ## Brief change log
    - A new parameter mesos.resourcemanager.tasks.container.docker.parameters 
is introduced
    
    ## Verifying this change
    This change added tests and can be verified as follows:
    - Added unit tests that verify correct behavior of the new parameter
    - Manually verified the change by running it in an Mesos cluster with 
Docker containerizer and 2 task managers, setting 
mesos.resourcemanager.tasks.container.docker.parameters=privileged=true and 
verifying that the task manager container is able to run a privileged command, 
then removing the parameter and verifying that the privileged command can no 
longer run.
    
    ## Does this pull request potentially affect one of the following parts:
      - Dependencies (does it add or upgrade a dependency): no
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: no
      - The serializers: no
      - The runtime per-record code paths (performance sensitive): no
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: yes
      - The S3 file system connector: no
    
    ## Documentation
    
      - Does this pull request introduce a new feature? yes
      - If yes, how is the feature documented? docs


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lishim/flink master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5346.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5346
    
----
commit bf392edcd446dee375d2e80c7597c13f1479696b
Author: Leonid Ishimnikov <lishim@...>
Date:   2018-01-23T18:55:17Z

    [FLINK-8490] Allow custom docker parameters for docker tasks on Mesos

----


---

Reply via email to