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(
404404 // If getAcl fails with anything other than 400, namespace is enabled.
405405 isNamespaceEnabled = Trilean .getTrilean (true );
406406 // Continue to throw exception as earlier.
407+ LOG .debug ("Failed to get ACL status with non 400. Inferring namespace enabled" , ex );
407408 throw ex ;
408409 }
409410 // 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 );
410413 isNamespaceEnabled = Trilean .getTrilean (false );
411414 } catch (AzureBlobFileSystemException ex ) {
412415 throw ex ;
You can’t perform that action at this time.
0 commit comments