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/04/23 01:42:12 UTC

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

Joseph Wu created MESOS-5260:
--------------------------------

             Summary: 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


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)