You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/06/08 20:44:18 UTC
[jira] [Created] (HADOOP-14510) Use error code detail in AWS server
responses for finer grained exceptions
Steve Loughran created HADOOP-14510:
---------------------------------------
Summary: Use error code detail in AWS server responses for finer grained exceptions
Key: HADOOP-14510
URL: https://issues.apache.org/jira/browse/HADOOP-14510
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/s3
Affects Versions: 2.8.1
Reporter: Steve Loughran
{{S3Utils.translateException()}} maps HTTP status code to exceptions. We aren't looking at the body of the reponses though, except when handling a 301 redirect.
We should use the exit code to fine tune responses, especially 400 & 401/403.
Right now I'm not sure we are even getting that error code into the text.
see: http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org