[
https://issues.apache.org/jira/browse/HADOOP-17149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Marqardt updated HADOOP-17149:
-------------------------------------
Fix Version/s: 3.3.1
Backported to branch-3.3 in commit e481d01. All tests passing against my
account in eastus2euap:
namespace.enabled=true
auth.type=SharedKey
$mvn -T 1C -Dparallel-tests=abfs -Dscale -DtestsThreadCount=8 clean verify
Tests run: 88, Failures: 0, Errors: 0, Skipped: 0
Tests run: 457, Failures: 0, Errors: 0, Skipped: 24
Tests run: 208, Failures: 0, Errors: 0, Skipped: 24
namespace.enabled=true
auth.type=OAuth
$mvn -T 1C -Dparallel-tests=abfs -Dscale -DtestsThreadCount=8 clean verify
Tests run: 88, Failures: 0, Errors: 0, Skipped: 0
Tests run: 457, Failures: 0, Errors: 0, Skipped: 66
Tests run: 208, Failures: 0, Errors: 0, Skipped: 141
> ABFS: Test failure: testFailedRequestWhenCredentialsNotCorrect fails when run
> with SharedKey
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-17149
> URL: https://issues.apache.org/jira/browse/HADOOP-17149
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.3.1
> Reporter: Sneha Vijayarajan
> Assignee: Bilahari T H
> Priority: Minor
> Labels: abfsactive
> Fix For: 3.3.1, 3.4.0
>
>
> When authentication is set to SharedKey, below test fails.
>
> [ERROR]
> ITestGetNameSpaceEnabled.testFailedRequestWhenCredentialsNotCorrect:161
> Expecting
> org.apache.hadoop.fs.azurebfs.contracts.exceptions.AbfsRestOperationException
> with text "Server failed to authenticate the request. Make sure the value of
> Authorization header is formed correctly including the signature.", 403 but
> got : "void"
>
> This test fails when the newly introduced config
> "fs.azure.account.hns.enabled" is set. This config will avoid network call to
> check if namespace is enabled, whereas the test expects thsi call to be made.
>
> The assert in test to 403 needs check too. Should ideally be 401.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]