anujmodi2021 commented on code in PR #6879: URL: https://github.com/apache/hadoop/pull/6879#discussion_r1705867223
########## hadoop-tools/hadoop-azure/src/site/markdown/fnsBlob.md: ########## @@ -0,0 +1,80 @@ +<!--- + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. See accompanying LICENSE file. +--> + +# ABFS Driver for FNS Accounts + +### Note: FNS-BLOB Support is being built and not yet ready for usage. + +## Background +ABFS driver is recommended to be used only with HNS Enabled ADLS Gen-2 accounts +for big data analytics because of being more performant and scalable. + +However, to enable users of legacy WASB Driver to migrate to ABFS driver without +needing them to upgrade their general purpose V2 accounts (HNS-Disabled), Support +for FNS accounts is being added to ABFS driver. +Refer to [WASB Deprication](./wasb.html) for more details. + +## Azure Service Endpoints Used by ABFS Driver +Azure Services offers two set of endpoints for interacting with storage accounts: +1. [Azure Blob Storage](https://learn.microsoft.com/en-us/rest/api/storageservices/blob-service-rest-api) referred as Blob Endpoint +2. [Azure Data Lake Storage](https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/operation-groups) referred as DFS Endpoint + +ABFS Driver by default is designed to work with DFS Endpoint only which primarily +supports HNS Enabled Accounts only. However, azure services does not recommended +to interact with FNS accounts using DFS Endpoint. + +To enable ABFS Driver to work with FNS Accounts, Support for Blob Endpoint is being added. +ABFS Driver will only allow FNS Accounts to be accessed using Blob Endpoint. +HNS Enabled accounts will still use DFS Endpoint which continues to be the +recommended stack based on performance and feature capabilities. + +## Configuring ABFS Driver for FNS Accounts +Following configurations will be introduced to configure ABFS Driver for FNS Accounts: +1. Account Type: Must be set to `false` to indicate FNS Account + ```xml + <property> + <name>fs.azure.account.hns.enabled</name> Review Comment: We won't be mixing service types for a single client. In case we need to move traffic from one service type to another, we will switch the AbfsClient used for making rest operation calls. Plan is to have both AbfsDfsClient and AbfsBlobClient initialised in AbfsClientHandler and use the one that is needed at that point in code flow. -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org