Description
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
Attachments
Issue Links
- relates to
-
HADOOP-13334 AmazonClient 30x exceptions to include redirect URL in message
- Resolved
-
HADOOP-14326 S3A to support S3 reduced redundancy storage
- Resolved