Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-14510

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

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      None
    • Target Version/s:

      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

              • Assignee:
                Unassigned
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: