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

Mesos fetcher does not extract archives for URI with parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.22.1, 0.23.0
    • None
    • fetcher
    • DCOS 1.1

    Description

      I'm deploying using marathon applications with sources served from S3. I'm using a signed URL to give only temporary access to the S3 resources, so URL of the resource have some query parameters.

      So URI is 'https://foo.com/file.tgz?hasi' and fetcher stores it in the file with the name 'file.tgz?hasi', then it thinks that extension 'hasi' is not tgz hence extraction is skipped, despite the fact that MIME Type of the HTTP resource is 'application/x-tar'.

      Workaround - add additional parameter like '&workaround=.tgz'

      Attachments

        Issue Links

          Activity

            People

              haosdent@gmail.com haosdent
              zubairov Renat Zubairov
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: