Description
The CommandInfo.URI message should allow explicitly choosing the downloaded file's name, to better mimic functionality present in tools like wget and curl.
This relates to issues when the CommandInfo.URI is pointing to a URL that has query parameters at the end of the path, resulting in the downloaded filename having those elements. This also prevents extracting of such files, since the extraction logic is simply looking at the file's suffix. See MESOS-3367, MESOS-1686, and MESOS-1509 for more info. If this issue was fixed, then I could workaround the other issues not being fixed by modifying my framework's scheduler to set the target filename.
Attachments
Issue Links
- is related 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-3367 Mesos fetcher does not extract archives for URI with parameters
- Resolved
- relates to
-
MESOS-5119 Support directory structure in CommandInfo.URI.filename in fetcher
- Resolved