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

ASF GitHub Bot logged work on HADOOP-17547:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/May/21 16:28
            Start Date: 25/May/21 16:28
    Worklog Time Spent: 10m 
      Work Description: bogthe opened a new pull request #3051:
URL: https://github.com/apache/hadoop/pull/3051


   [HADOOP-17415](https://issues.apache.org/jira/browse/HADOOP-17547)
   
   Caller without `s3:ListBucketMultipartUploads` permissions would have
   any committers throw an `AccessDenied` exception whenever the committer
   would try to cleanup any pending multipart uploads.
   
   Changes:
   - Swallowing exception and printing a log instead during cleanup;
   
   Tested with `eu-west-1` and `mvn -Dparallel-tests -DtestsThreadCount=32 
clean verify`
   ```
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 151, Failures: 0, Errors: 0, Skipped: 87
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 601834)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to