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)

Reply via email to