Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
0.22.1, 0.23.0
-
None
-
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
- is duplicated by
-
MESOS-4779 Strip query strings and fragments from fetcher urls.
- Resolved
- is related to
-
MESOS-8250 Fetcher cache does not ignore query parameters in URIs
- Accepted
- relates to
-
MESOS-1686 URI query strings are preserved in local filename
- Open
-
MESOS-1509 Use Content-Disposition filename (if available) when downloading HTTP URIs
- Open
-
MESOS-4735 CommandInfo.URI should allow specifying target filename
- Resolved