HADOOP-16742. NullPointerException in S3A MultiObjectDeleteSupport
Contributed by Tor Arvid Lund. Change-Id: Iadfe9b2f355cf373031075bfbe681705a2c65bdc
This commit is contained in:
parent
041488e8f5
commit
68425eb469
@ -106,7 +106,7 @@ public static IOException translateDeleteException(
|
||||
error.getMessage());
|
||||
LOG.warn(item);
|
||||
result.append(item);
|
||||
if (exitCode.isEmpty() || ACCESS_DENIED.equals(code)) {
|
||||
if (exitCode == null || exitCode.isEmpty() || ACCESS_DENIED.equals(code)) {
|
||||
exitCode = code;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user