HADOOP-13158 S3AFileSystem#toString might throw NullPointerException due to null cannedACL. (Chris Nauroth via stevel)
This commit is contained in:
parent
dfc062a092
commit
dd0a8201bc
|
@ -1443,7 +1443,9 @@ public class S3AFileSystem extends FileSystem {
|
|||
sb.append(", partSize=").append(partSize);
|
||||
sb.append(", enableMultiObjectsDelete=").append(enableMultiObjectsDelete);
|
||||
sb.append(", maxKeys=").append(maxKeys);
|
||||
sb.append(", cannedACL=").append(cannedACL.toString());
|
||||
if (cannedACL != null) {
|
||||
sb.append(", cannedACL=").append(cannedACL.toString());
|
||||
}
|
||||
sb.append(", readAhead=").append(readAhead);
|
||||
sb.append(", blockSize=").append(getDefaultBlockSize());
|
||||
sb.append(", multiPartThreshold=").append(multiPartThreshold);
|
||||
|
|
Loading…
Reference in New Issue