[
https://issues.apache.org/jira/browse/MESOS-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Mathiske updated MESOS-2069:
----------------------------------
Description:
Add a flag to CommandInfo URI protobufs that indicates that files downloaded by
the fetcher shall be cached in a repository. To be followed by MESOS-2057 for
concurrency control.
Also see MESOS-336 for the overall goals for the fetcher cache.
was:
Cache files downloaded by the fetcher in a repository. If multiple requests for
the same URI occur, perform only one of them and reuse the result. Make
concurrent requests for the same URI wait for the one download. Do support
multiple concurrent downloads of different URIs, though.
Note that implementing this does not suffice for production use. This ticket
contains the main part of the fetcher logic, though. See the epic MESOS-336 for
the rest of the features that lead to a fully functional fetcher cache.
The proposed general approach is to keep all bookkeeping about what is in which
stage of being fetched and where it resides in the slave's
MesosContainerizerProcess, so that all concurrent access is disambiguated and
controlled by an "actor" (aka libprocess "process").
Also see MESOS-336 for the overall goals for the fetcher cache.
> Basic fetcher cache functionality
> ---------------------------------
>
> Key: MESOS-2069
> URL: https://issues.apache.org/jira/browse/MESOS-2069
> Project: Mesos
> Issue Type: Improvement
> Components: fetcher, slave
> Reporter: Bernd Mathiske
> Assignee: Bernd Mathiske
> Labels: fetcher, slave
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Add a flag to CommandInfo URI protobufs that indicates that files downloaded
> by the fetcher shall be cached in a repository. To be followed by MESOS-2057
> for concurrency control.
> Also see MESOS-336 for the overall goals for the fetcher cache.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)