bilaharith commented on a change in pull request #1969:
URL: https://github.com/apache/hadoop/pull/1969#discussion_r412131351
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
##########
@@ -253,6 +259,20 @@ public boolean getIsNamespaceEnabled() throws
AzureBlobFileSystemException {
return isNamespaceEnabled;
}
+ @VisibleForTesting
+ boolean isNameSpaceEnabledSetFromConfig() {
Review comment:
No.
Though the possible values for the config is true/false, we cannot have a
default value for the same. So we accept the config value as String and if it
is valid(true/false) we set it to the
AzureBlobFileSystemStore.isNamespaceEnabled.
If the config is not present or the value specified is invalid, this method
returns false, indicating it could not set the
AzureBlobFileSystemStore.isNamespaceEnabled field.
And according to the return value of this method, the caller method returns
AzureBlobFileSystemStore.isNamespaceEnabled field or falls back to the default
behaviour.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]