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:28:12 UTC

[jira] [Created] (MESOS-5259) Refactor the mesos-fetcher binary to use the uri::Fetcher as a backend

Joseph Wu created MESOS-5259:
--------------------------------

             Summary: Refactor the mesos-fetcher binary to use the uri::Fetcher as a backend
                 Key: MESOS-5259
                 URL: https://issues.apache.org/jira/browse/MESOS-5259
             Project: Mesos
          Issue Type: Task
          Components: fetcher
            Reporter: Joseph Wu
            Assignee: Joseph Wu


This is an intermediate step for combining the {{mesos-fetcher}} binary and {{uri::Fetcher}}.  

The {{download}} method should be replaced with {{uri::Fetcher::fetch}}.
https://github.com/apache/mesos/blob/653eca74f1080f5f55cd5092423506163e65d402/src/launcher/fetcher.cpp#L179

Combining the two will:
* Attach the {{uri::Fetcher}} to the existing Fetcher caching logic.
* Remove some code duplication for downloading URIs.



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