You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2016/09/01 02:18:21 UTC

[jira] [Commented] (MESOS-6067) Support provisioner to be nested aware for Mesos Pods.

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

Jie Yu commented on MESOS-6067:
-------------------------------

commit bd3e2b598f6855f8329f798eaa35ca695b4359f7
Author: Gilbert Song <so...@gmail.com>
Date:   Wed Aug 31 19:17:12 2016 -0700

    Supported provisioner provision() and destroy() to be nested aware.
    
    This patch makes the provisioner provision() and destory() methods
    to be multi-level nested aware, by simply change the helper function
    getContainerDir() to be recursive:
    
    1. In provisioner provision(), just need to make sure the rootfs
       returned from getContainerRootfsDir() and the backend dir
       returned from getBackendDir() are correctly nested.
    2. In provisioner destroy(), need to simply make sure the rootfs
       from getContainerRootfsDir() is correctly nested.
    
    Both getContainerRootfsDir() and getBackendDir() rely on
    the helper method getContainerDir(). So we can simply make them
    nested aware by change getContainerDir() to be recursive.
    
    Review: https://reviews.apache.org/r/51323/

> Support provisioner to be nested aware for Mesos Pods.
> ------------------------------------------------------
>
>                 Key: MESOS-6067
>                 URL: https://issues.apache.org/jira/browse/MESOS-6067
>             Project: Mesos
>          Issue Type: Task
>          Components: containerization
>            Reporter: Gilbert Song
>            Assignee: Gilbert Song
>              Labels: containerizer, provisioner
>
> The provisioner has to be nested aware for sub-container provisioning, as well as recovery and nested container destroy. Better to support multi-level hierarchy. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)