You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2016/05/02 19:53:13 UTC

[jira] [Updated] (MESOS-5260) Extend the uri::Fetcher::Plugin interface to include a "fetchSize"

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

Joseph Wu updated MESOS-5260:
-----------------------------
    Sprint:   (was: Mesosphere Sprint 34)

> Extend the uri::Fetcher::Plugin interface to include a "fetchSize"
> ------------------------------------------------------------------
>
>                 Key: MESOS-5260
>                 URL: https://issues.apache.org/jira/browse/MESOS-5260
>             Project: Mesos
>          Issue Type: Task
>          Components: fetcher
>            Reporter: Joseph Wu
>            Assignee: Joseph Wu
>              Labels: fetcher, mesosphere
>
> In order to replace the {{mesos-fetcher}} binary with the {{uri::Fetcher}}, each plugin must be able to determine/estimate the size of a download.  This is used by the Fetcher cache when it creates cache entries and such.
> The logic for each of the four {{Fetcher::Plugin}}s can be taken and refactored from the existing fetcher.
> https://github.com/apache/mesos/blob/653eca74f1080f5f55cd5092423506163e65d402/src/slave/containerizer/fetcher.cpp#L267



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