HADOOP-19284: [Backport 3.4] [ABFS] Allow "fs.azure.account.hns.enabled" to be set as Account Specific Config #7076
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
Jira: https://issues.apache.org/jira/browse/HADOOP-19284
Making config
fs.azure.account.hns.enabled
account specificThere are a few reported requirements where users working with multiple file systems need to specify this config either only for some accounts or set it differently for different account.
ABFS driver today does not allow this to be set as account specific config.
This also fixes test that were failing when "fs.azure.account.hns.enabled" config was not present.
How was this patch tested?
Existing tests modified and new tests added.
Test Suite result on HNS OAuth
[WARNING] Tests run: 154, Failures: 0, Errors: 0, Skipped: 2
[ERROR] Tests run: 647, Failures: 0, Errors: 0, Skipped: 82
[ERROR] Tests run: 433, Failures: 0, Errors: 0, Skipped: 58