You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/06/30 10:36:00 UTC
[jira] [Commented] (HADOOP-19595) ABFS: AbfsConfiguration should store account type information (HNS or FNS)
[ https://issues.apache.org/jira/browse/HADOOP-19595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986880#comment-17986880 ]
ASF GitHub Bot commented on HADOOP-19595:
-----------------------------------------
bhattmanish98 commented on code in PR #7765:
URL: https://github.com/apache/hadoop/pull/7765#discussion_r2174762509
##########
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestGetNameSpaceEnabled.java:
##########
@@ -341,6 +344,42 @@ public void testAccountSpecificConfig() throws Exception {
}
}
+ /**
+ * Tests the behavior of AbfsConfiguration when the namespace-enabled
+ * configuration set based on config provided.
+ *
+ * Expects the namespace value based on config provided.
+ *
+ * @throws Exception if any error occurs during configuration setup or evaluation
+ */
+ @Test
+ public void testNameSpaceConfig() throws Exception {
Review Comment:
Added.
> ABFS: AbfsConfiguration should store account type information (HNS or FNS)
> --------------------------------------------------------------------------
>
> Key: HADOOP-19595
> URL: https://issues.apache.org/jira/browse/HADOOP-19595
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.4.1
> Reporter: Manish Bhatt
> Assignee: Manish Bhatt
> Priority: Major
>
> Currently, both {{AbfsClient}} and {{AzureBlobFileSystemStore}} store information about whether the account is FNS or HNS (i.e., whether namespace is enabled). This information should instead be stored at the {{AbfsConfiguration}} level, allowing both the client and the store to retrieve it from there when needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org