anujmodi2021 commented on code in PR #7062:
URL: https://github.com/apache/hadoop/pull/7062#discussion_r1776811189
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java:
##########
@@ -450,8 +450,17 @@ public AbfsConfiguration(final Configuration rawConfig,
String accountName)
this(rawConfig, accountName, AbfsServiceType.DFS);
}
+ /**
+ * Returns the account type as per the user configuration. Gets the account
+ * specific value if it exists, then looks for an account agnostic value.
+ * If not configured driver makes additional getAcl call to determine
+ * the account type during file system initialization.
+ * @return TRUE/FALSE value if configured, UNKNOWN if not configured.
+ */
public Trilean getIsNamespaceEnabledAccount() {
- return Trilean.getTrilean(isNamespaceEnabledAccount);
+ String isNamespaceEnabledAccountString
+ = getString(FS_AZURE_ACCOUNT_IS_HNS_ENABLED,
isNamespaceEnabledAccount);
+ return Trilean.getTrilean(isNamespaceEnabledAccountString);
Review Comment:
Yes, that sounds better
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]