Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5260

Extend the uri::Fetcher::Plugin interface to include a "fetchSize"

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fetcher

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kaysoky Joseph Wu
                Shepherd:
                Jie Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: