HADOOP-16742. NullPointerException in S3A MultiObjectDeleteSupport
Contributed by Tor Arvid Lund. Change-Id: Iadfe9b2f355cf373031075bfbe681705a2c65bdc
This commit is contained in:
parent
00ba886a22
commit
e944cc0338
@ -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