Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18073 S3A: Upgrade AWS SDK to V2
  3. HADOOP-18863

AWS SDK V2 - AuditFailureExceptions aren't being translated properly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • fs/s3
    • None
    • Reviewed

    Description

      ITestS3AHugeFilesNoMultipart is failing because the AuditFailureException variant raised in the sdk handler is being wrapped as it makes its way back to the s3a code -but S3AUtiis.translateException() isn't looking at the inner cause.

      looks like aws v2 sdk class .GenericMultipartHelper.handleException is wrapping an SdkException with a SdkClientException even though it is not needed.

      we probably have to start looking at the inner cause of any exception during translation to see if that is also a AuditFailureException.

      Filed https://github.com/aws/aws-sdk-java-v2/issues/4356

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: