Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16829 Über-jira: S3A Hadoop 3.3.1 features
  3. HADOOP-14510

Use error code detail in AWS server responses for finer grained exceptions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.8.1
    • None
    • fs/s3
    • None

    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

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: