Qian Zhang created MESOS-9713:
---------------------------------
Summary: Support specifying output file name for fetcher
Key: MESOS-9713
URL: https://issues.apache.org/jira/browse/MESOS-9713
Project: Mesos
Issue Type: Improvement
Components: fetcher
Reporter: Qian Zhang
Currently fetcher's `fetch` method is defined like below:
{code:java}
process::Future<Nothing> fetch(
const URI& uri,
const std::string& directory,
const Option<std::string>& data = None()) const;
{code}
So caller can only specify the directory that the URI will be downloaded to but
not the name of the output file which has to be same with base name of the URI
path. We'd better to introduce an output file name parameter so that caller can
customize the output file name.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)