File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -404,9 +404,12 @@ private synchronized boolean getNamespaceEnabledInformationFromServer(
404
404
// If getAcl fails with anything other than 400, namespace is enabled.
405
405
isNamespaceEnabled = Trilean .getTrilean (true );
406
406
// Continue to throw exception as earlier.
407
+ LOG .debug ("Failed to get ACL status with non 400. Inferring namespace enabled" , ex );
407
408
throw ex ;
408
409
}
409
410
// If getAcl fails with 400, namespace is disabled.
411
+ LOG .debug ("Failed to get ACL status with 400. "
412
+ + "Inferring namespace disabled and ignoring error" , ex );
410
413
isNamespaceEnabled = Trilean .getTrilean (false );
411
414
} catch (AzureBlobFileSystemException ex ) {
412
415
throw ex ;
You can’t perform that action at this time.
0 commit comments