The 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 for more details.
Azure Services offers two set of endpoints for interacting with storage accounts:
The ABFS Driver by default is designed to work with DFS Endpoint only which primarily supports HNS Enabled Accounts only.
To enable ABFS Driver to work with FNS Accounts, Support for Blob Endpoint is being added. This is because Azure services do not recommend using DFS Endpoint for FNS Accounts. 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.
Following configurations will be introduced to configure ABFS Driver for FNS Accounts:
Account Type: Must be set to false
to indicate FNS Account
<property>
<name>fs.azure.account.hns.enabled</name>
<value>false</value>
</property>
xml
<property>
<name>fs.defaultFS</name>
<value>https://ACCOUNT_NAME.blob.core.windows.net</value>
</property>
Service Type for FNS Accounts: This will allow an override to choose service type specially in cases where any local DNS resolution is set for the account and driver is unable to detect the intended endpoint from above configured URL. If this is set to blob for HNS Enabled Accounts, FS init will fail with InvalidConfiguration error.
<property>
<name>fs.azure.fns.account.service.type</name>
<value>BLOB</value>
</property>
xml
<property>
<name>fs.azure.fns.account.service.type</name>
<value>BLOB</value>
</property>