You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2021/06/12 16:46:34 UTC
[hadoop] branch branch-3.3 updated: HADOOP-17547 Magic committer to
downgrade abort in cleanup if list uploads fails with access denied (#3051)
This is an automated email from the ASF dual-hosted git repository.
stevel pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 254d943 HADOOP-17547 Magic committer to downgrade abort in cleanup if list uploads fails with access denied (#3051)
254d943 is described below
commit 254d943126cdcf51cd39b1f2a6749ac99319d056
Author: Petre Bogdan Stolojan <st...@gmail.com>
AuthorDate: Sat Jun 12 17:45:12 2021 +0100
HADOOP-17547 Magic committer to downgrade abort in cleanup if list uploads fails with access denied (#3051)
Contributed by Bogdan Stolojan
Change-Id: I32d6dc4f72087783a3ea12473d11690ac14fe3cb
---
.../java/org/apache/hadoop/fs/s3a/commit/AbstractS3ACommitter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/AbstractS3ACommitter.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/AbstractS3ACommitter.java
index 1fd2496..2005bc8 100644
--- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/AbstractS3ACommitter.java
+++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/AbstractS3ACommitter.java
@@ -832,8 +832,8 @@ public abstract class AbstractS3ACommitter extends PathOutputCommitter
try {
pending = ops.listPendingUploadsUnderPath(dest);
} catch (IOException e) {
- // raised if the listPendingUploads call failed.
- maybeIgnore(suppressExceptions, "aborting pending uploads", e);
+ // Swallow any errors given this is best effort
+ LOG.debug("Failed to list pending uploads under {}", dest, e);
return;
}
if (!pending.isEmpty()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org