[ 
https://issues.apache.org/jira/browse/HADOOP-13211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chen He updated HADOOP-13211:
-----------------------------
    Assignee:     (was: Chen He)

> Swift driver should have a configurable retry feature when ecounter 5xx error
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-13211
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13211
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs/swift
>    Affects Versions: 2.7.2
>            Reporter: Chen He
>
> In current code. if Swift driver meets a HTTP 5xx, it will throw exception 
> and stop. As a driver, it will be more sophisticate if it can retry a 
> configurable times before report failure. There are two reasons that I can 
> image:
> 1. if the server is really busy, it is possible that the server will drop 
> some requests to avoid DDoS attack.
> 2. If server accidentally unavailable for a short period of time and come 
> back again, we may not need to fail the whole driver. Just record the 
> exception and retry may be more flexible. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to