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

[jira] [Updated] (MESOS-4524) Create a base64-encoded file content fetcher plugin module

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

Shuai Lin updated MESOS-4524:
-----------------------------
    Description: 
Sometimes the scheduler may want to pass a file to the task sandbox directly: the value of the uri is the file content itself in base64 encoding, e.g. 

{code}
base64://aGVsbG8gd29ybGQ=
{code}

To support this, we can add a Base64FetcherPlugin module. This requires [MESOS-3926], and can also serve as an example of how to implment a custom fetcher plugin.

This also requires to add a {{target_name}} field in the URI PB, since now we can't parse the file name from the uri.

  was:
Sometimes the scheduler may want to pass a file to the task sandbox directly: the value of the uri is the file content itself in base64 encoding, e.g. 

{code}
base64://aGVsbG8gd29ybGQ=
{code}

To support this, we can add a Base64FetcherPlugin module. This requires [MESOS-3926], and can also serve as an example of how to implment a custom fetcher plugin.

This also requires to add a {target_name} field in the URI PB, since now we can't parse the file name from the uri.


> Create a base64-encoded file content fetcher plugin module
> ----------------------------------------------------------
>
>                 Key: MESOS-4524
>                 URL: https://issues.apache.org/jira/browse/MESOS-4524
>             Project: Mesos
>          Issue Type: Task
>          Components: fetcher
>            Reporter: Shuai Lin
>            Assignee: Shuai Lin
>
> Sometimes the scheduler may want to pass a file to the task sandbox directly: the value of the uri is the file content itself in base64 encoding, e.g. 
> {code}
> base64://aGVsbG8gd29ybGQ=
> {code}
> To support this, we can add a Base64FetcherPlugin module. This requires [MESOS-3926], and can also serve as an example of how to implment a custom fetcher plugin.
> This also requires to add a {{target_name}} field in the URI PB, since now we can't parse the file name from the uri.



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