You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Renat Zubairov (JIRA)" <ji...@apache.org> on 2015/09/04 11:42:45 UTC

[jira] [Created] (MESOS-3367) Mesos fetcher does not extract archives for URI with parameters

Renat Zubairov created MESOS-3367:
-------------------------------------

             Summary: Mesos fetcher does not extract archives for URI with parameters
                 Key: MESOS-3367
                 URL: https://issues.apache.org/jira/browse/MESOS-3367
             Project: Mesos
          Issue Type: Bug
          Components: fetcher
    Affects Versions: 0.23.0, 0.22.1
         Environment: DCOS 1.1
            Reporter: Renat Zubairov
            Priority: Minor


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'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)