[ 
https://issues.apache.org/jira/browse/HADOOP-17547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351026#comment-17351026
 ] 

Steve Loughran commented on HADOOP-17547:
-----------------------------------------

This is part of the S3A committer stuff which is independent of S3Guard, so 
yes, we still want this.

> Magic committer to downgrade abort in cleanup if list uploads fails with 
> access denied
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-17547
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17547
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Priority: Major
>
> If the caller doesn't have "s3:ListBucketMultipartUploads" permissions on a 
> bucket, then magic committer cleanup fails. 
> {code}
>       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)
> {code}
> it should just swallow this, given it's best effort 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to