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

Zhitao Li commented on MESOS-7899:
----------------------------------

[~bmahler], what's your suggestion on the virtual path should be?

One idea I have is to use a relative path 
{{frameworks/<framework-id>/executors/<executor-id>/latest}}. By omitting root 
directory, files API on agent will default to browsing in 
{{/<work-dir>/slaves/<current-slave-id>}}.

The alternative is to provide a fake {{/latest-agent-work-dir}} and mount the 
executor directory there. However, endpoint/API user still need to know what 
this fake path is to properly use it.

I prefer the relative path idea but want to go over it with you before 
starting. Thanks.

> Expose sandboxes using virtual paths and hide the agent work directory
> ----------------------------------------------------------------------
>
>                 Key: MESOS-7899
>                 URL: https://issues.apache.org/jira/browse/MESOS-7899
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Zhitao Li
>            Assignee: Zhitao Li
>
> {{Files}} interface already supports a virtual file system. We should figure 
> out a way to enable this in {{ /files/download}} endpoint to hide agent 
> sandbox.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to