Skip to content

Commit 4c039fa

Browse files
authored
HADOOP-17715 ABFS: Append blob tests with non HNS accounts fail (#3028)
1 parent ca27744 commit 4c039fa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ set -eo pipefail
2626
begin
2727

2828
### ADD THE TEST COMBINATIONS BELOW. DO NOT EDIT THE ABOVE LINES.
29+
### THE SCRIPT REQUIRES THE FOLLOWING UTILITIES xmlstarlet AND pcregrep.
2930

3031

3132
combination=HNS-OAuth
@@ -34,6 +35,12 @@ properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
3435
values=("{account name}.dfs.core.windows.net" "true" "OAuth")
3536
generateconfigs
3637

38+
combination=AppendBlob-HNS-OAuth
39+
properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
40+
"fs.azure.account.auth.type" "fs.azure.test.appendblob.enabled")
41+
values=("{account name}.dfs.core.windows.net" "true" "OAuth" "true")
42+
generateconfigs
43+
3744
combination=HNS-SharedKey
3845
properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled" "fs.azure.account.auth.type")
3946
values=("{account name}.dfs.core.windows.net" "true" "SharedKey")

hadoop-tools/hadoop-azure/src/test/resources/azure-auth-keys.xml.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ create the test FS instance.
167167
<value>false</value>
168168
<description>If made true, tests will be running under the assumption that
169169
append blob is enabled and the root directory and contract test root
170-
directory will be part of the append blob directories.
170+
directory will be part of the append blob directories. Should be false for
171+
non-HNS accounts.
171172
</description>
172173
</property>
173174

0 commit comments

Comments
 (0)