You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2017/05/30 17:22:04 UTC

[jira] [Created] (MESOS-7588) Make the fetcher number of retries configurable.

Anand Mazumdar created MESOS-7588:
-------------------------------------

             Summary: Make the fetcher number of retries configurable.
                 Key: MESOS-7588
                 URL: https://issues.apache.org/jira/browse/MESOS-7588
             Project: Mesos
          Issue Type: Improvement
            Reporter: Anand Mazumdar


The Mesos fetcher relies on CURL for downloading images. In the event of transient errors, the fetcher currently does not retry as the default curl value for retry is 0. From the curl docs:

{noformat}
If a transient error is returned when curl tries to perform a transfer, it will retry this number of times before giving up. Setting the number to 0 makes curl do no retries (which is the default). Transient error means either: a timeout, an FTP 4xx response code or an HTTP 5xx response code.
{noformat}

It would be useful to add a fetcher flag to {{fetcher_num_retries}} or something similar to configure the number of retries made by CURL. As a workaround for now, users would need to add this to the root user's {{curlrc}} file since the fetcher is run as {{root}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)