[
https://issues.apache.org/jira/browse/HADOOP-19854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18071610#comment-18071610
]
ASF GitHub Bot commented on HADOOP-19854:
-----------------------------------------
manika137 opened a new pull request, #8410:
URL: https://github.com/apache/hadoop/pull/8410
### Description of PR
JIRA: https://issues.apache.org/jira/browse/HADOOP-19854
If fs.azure.account.hns.enabled is not configured, ABFS driver issues a
getAcl call using the DFS endpoint to detect the account type (HNS or FNS)
For FNS Blob accounts with Soft Delete enabled, this behavior leads to
failures because the DFS endpoint used does not support Soft Delete semantics.
Temporary fix is to explicitly set the configuration:
fs.azure.account.hns.enabled so the redundant DFS-based detection is bypassed
and the issue does not occur.
Raising PR for the code fix
### How was this patch tested?
Test suite was run. Adding the results in the comments below
> ABFS: Forced DFS Endpoint Usage Causes Failure on FNS-Blob Accounts with Soft
> Delete Enabled
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-19854
> URL: https://issues.apache.org/jira/browse/HADOOP-19854
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure
> Affects Versions: 3.5.0, 3.4.2, 3.4.3
> Reporter: Manika Joshi
> Assignee: Manika Joshi
> Priority: Major
>
> If _fs.azure.account.hns.enabled_ is not configured, ABFS driver issues a
> getAcl call +using the DFS endpoint+ to detect the account type (HNS or FNS)
> For FNS Blob accounts with Soft Delete enabled, this behavior leads to
> failures because the DFS endpoint used does not support Soft Delete semantics.
> Temporary fix is to explicitly set the configuration:
> _fs.azure.account.hns.enabled_ so the redundant DFS-based detection is
> bypassed and the issue does not occur.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]