[
https://issues.apache.org/jira/browse/MESOS-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402565#comment-15402565
]
Joseph Wu commented on MESOS-5933:
----------------------------------
Another note: If the purpose of this ticket is to add a way to "prime" the
(fetcher) cache, there are other ways to achieve this. You could schedule a
task (i.e. a command task of {{exit 0}}) that fetches the object (into the
cache).
> Refactor the uri::Fetcher as a binary.
> --------------------------------------
>
> Key: MESOS-5933
> URL: https://issues.apache.org/jira/browse/MESOS-5933
> Project: Mesos
> Issue Type: Improvement
> Components: fetcher
> Reporter: Gilbert Song
> Assignee: Zhitao Li
> Labels: fetcher, mesosphere
>
> By refactoring the uri::Fetcher as a binary, the fetcher can be used
> independently. Not only mesos, but also new fetcher plugin testing, mesos cli
> and many other new components in the future can re-use the binary to fetch
> any URI with different schemes. Ideally, after this change, mesos cli is able
> to re-use the uri::Fetcher binary to introduce new image pulling commands,
> e.g., `mesos fetch -i <path>`.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)