HADOOP-17547 Magic committer to downgrade abort in cleanup if list uploads fails with access denied (#3051)
Contributed by Bogdan Stolojan Change-Id: I32d6dc4f72087783a3ea12473d11690ac14fe3cb
This commit is contained in:
parent
52d055a7eb
commit
254d943126
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue