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: [email protected]
For additional commands, e-mail: [email protected]