Skip to content

Commit 51f03ff

Browse files
author
Anuj Modi
committed
Debug Logs
1 parent 9c1698b commit 51f03ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)