Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17566 Über-jira: S3A Hadoop 3.3.2 features
  3. HADOOP-17547

Magic committer to downgrade abort in cleanup if list uploads fails with access denied

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.2
    • fs/s3

    Description

      If the caller doesn't have "s3:ListBucketMultipartUploads" permissions on a bucket, then magic committer cleanup fails.

      	at org.apache.hadoop.fs.s3a.S3AUtils.translateException(S3AUtils.java:247)
      	at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:112)
      	at org.apache.hadoop.fs.s3a.Invoker.lambda$retry$4(Invoker.java:315)
      	at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:407)
      	at org.apache.hadoop.fs.s3a.Invoker.retry(Invoker.java:311)
      	at org.apache.hadoop.fs.s3a.Invoker.retry(Invoker.java:286)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.listMultipartUploads(S3AFileSystem.java:4549)
      	at org.apache.hadoop.fs.s3a.commit.CommitOperations.listPendingUploadsUnderPath(CommitOperations.java:361)
      	at org.apache.hadoop.fs.s3a.commit.AbstractS3ACommitter.abortPendingUploadsInCleanup(AbstractS3ACommitter.java:671)
      	at org.apache.hadoop.fs.s3a.commit.AbstractS3ACommitter.cleanup(AbstractS3ACommitter.java:770)
      

      it should just swallow this, given it's best effort

      Attachments

        Issue Links

          Activity

            People

              bogthe Bogdan Stolojan
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h