[ https://issues.apache.org/jira/browse/MESOS-7588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anand Mazumdar updated MESOS-7588: ---------------------------------- Labels: containerizer fetcher (was: ) > 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 > Labels: containerizer, fetcher > > 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)