HADOOP-17547 Magic committer to downgrade abort in cleanup if list uploads fails with access denied (#3051)
Contributed by Bogdan Stolojan
This commit is contained in:
parent
f0bdc422aa
commit
de9ca9f155
@ -832,8 +832,8 @@ protected void abortPendingUploadsInCleanup(
|
||||
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
Block a user