[ 
https://issues.apache.org/jira/browse/FLINK-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898844#comment-15898844
 ] 

ASF GitHub Bot commented on FLINK-5975:
---------------------------------------

GitHub user addisonj opened a pull request:

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

    [FLINK-5975] Add volume support to flink-mesos

    When using containerization, specifically, docker, it is useful to be
    able to attach additional volumes, such as an NFS share.
    
    This adds support for volumes to be attached via specifying a new config
    values `mesos.resourcemanager.tasks.container.volumes`. This is comma
    delimited string of `[host_path:]container_path[:RO|RW]`.
    
    It is modeled after the spark mesos framework
    
    Thanks for contributing to Apache Flink. Before you open your pull request, 
please take the following check list into consideration.
    If your changes take all of the items into account, feel free to open your 
pull request. For more information and/or questions please refer to the [How To 
Contribute guide](http://flink.apache.org/how-to-contribute.html).
    In addition to going through the list, please provide a meaningful 
description of your changes.
    
    - [ ] General
      - The pull request references the related JIRA issue ("[FLINK-XXX] Jira 
title text")
      - The pull request addresses only one issue
      - Each commit in the PR has a meaningful commit message (including the 
JIRA id)
    
    - [ ] Documentation
      - Documentation has been added for new functionality
      - Old documentation affected by the pull request has been updated
      - JavaDoc for public methods has been added
    
    - [ ] Tests & Build
      - Functionality added by the pull request is covered by tests
      - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed


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

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

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

    https://github.com/apache/flink/pull/3481.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 #3481
    
----
commit ddce9d20b0dd7a9dd9d5ea0a8cfb5ed61d5685c2
Author: Addison Higham <ahig...@instructure.com>
Date:   2017-03-07T06:40:16Z

    [FLINK-5975] Add volume support to flink-mesos
    
    When using containerization, specifically, docker, it is useful to be
    able to attach additional volumes, such as an NFS share.
    
    This adds support for volumes to be attached via specifying a new config
    values `mesos.resourcemanager.tasks.container.volumes`. This is comma
    delimited string of `[host_path:]container_path[:RO|RW]`.
    
    It is modeled after the spark mesos framework

----


> Mesos should support adding volumes to launched taskManagers
> ------------------------------------------------------------
>
>                 Key: FLINK-5975
>                 URL: https://issues.apache.org/jira/browse/FLINK-5975
>             Project: Flink
>          Issue Type: Improvement
>          Components: Mesos
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Addison Higham
>            Priority: Minor
>
> Flink needs access to shared storage.
> In many cases, this is HDFS, but it would be nice to also support file URIs 
> on an mounted NFS for example.
> Mesos exposes APIs for adding volumes, so it should be relatively simply to 
> add this.
> As an example, here is the spark code for supporting volumes: 
> https://github.com/apache/spark/blob/master/resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerBackendUtil.scala#L35
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to