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

Refactor the mesos-fetcher binary to use the uri::Fetcher as a backend

    XMLWordPrintableJSON

Details

    • Task
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fetcher

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaysoky Joseph Wu
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: