[ 
https://issues.apache.org/jira/browse/MESOS-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Greg Mann updated MESOS-4003:
-----------------------------
    Description: Some isolator modules can benefit from access to the agent's 
{{work_dir}}. For example, the DVD isolator 
(https://github.com/emccode/mesos-module-dvdi) is currently forced to mount 
external volumes in a hard-coded directory. Making the {{work_dir}} accessible 
to the isolator via {{Isolator::recover()}} would allow the isolator to mount 
volumes within the agent's {{work_dir}}. This can be accomplished by simply 
adding an overloaded signature for {{Isolator::recover()}} which includes the 
{{work_dir}} as a parameter.  (was: Some isolator modules can benefit from 
access to the agent's command-line flags. For example, the DVD isolator 
(https://github.com/emccode/mesos-module-dvdi) is currently forced to mount 
external volumes in a hard-coded directory. Making the agent flags accessible 
to the isolator via {{Isolator::recover()}} would allow the isolator to mount 
volumes within the agent's {{work_dir}}. This can be accomplished by simply 
adding an overloaded signature for {{Isolator::recover()}} which includes the 
agent flags as a parameter.)

> Pass agent work_dir to isolator modules
> ---------------------------------------
>
>                 Key: MESOS-4003
>                 URL: https://issues.apache.org/jira/browse/MESOS-4003
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Greg Mann
>            Assignee: Greg Mann
>              Labels: external-volumes, mesosphere
>
> Some isolator modules can benefit from access to the agent's {{work_dir}}. 
> For example, the DVD isolator (https://github.com/emccode/mesos-module-dvdi) 
> is currently forced to mount external volumes in a hard-coded directory. 
> Making the {{work_dir}} accessible to the isolator via 
> {{Isolator::recover()}} would allow the isolator to mount volumes within the 
> agent's {{work_dir}}. This can be accomplished by simply adding an overloaded 
> signature for {{Isolator::recover()}} which includes the {{work_dir}} as a 
> parameter.



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

Reply via email to