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

S3AUtils.translateException to map CredentialInitializationException to AccessDeniedException

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently S3AUtils.translateException will convert NoAuthWithAWSException AccessDeniedException but not the superclass CredentialInitializationException.

      That is just mapped to the generic AWSClientIOException, which is considered retryable on idempotent calls.

      This means that if any DT provider/AWS auth chain raises CredentialInitializationException., such as during the FS init, the operation will be retried until it eventually times out.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: