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

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

    XMLWordPrintableJSON

    Details

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

      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

          Activity

            People

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

              Dates

              • Created:
                Updated: