You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2021/07/12 06:22:08 UTC
[hadoop] branch branch-3.3 updated: HADOOP-17715 ABFS: Append blob
tests with non HNS accounts fail (#3028) (#3125)
This is an automated email from the ASF dual-hosted git repository.
surendralilhore pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new ab3809c HADOOP-17715 ABFS: Append blob tests with non HNS accounts fail (#3028) (#3125)
ab3809c is described below
commit ab3809cf8dc31740d041d3feeed8b88827c376ca
Author: snehavarma <sn...@gmail.com>
AuthorDate: Mon Jul 12 11:51:41 2021 +0530
HADOOP-17715 ABFS: Append blob tests with non HNS accounts fail (#3028) (#3125)
(cherry picked from commit 4c039fafebfe7b4d68b60c5ec6075d889ab1c40b)
---
hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh | 7 +++++++
.../hadoop-azure/src/test/resources/azure-auth-keys.xml.template | 3 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh b/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh
index d3d4062..25d9593 100755
--- a/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh
+++ b/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh
@@ -26,6 +26,7 @@ set -eo pipefail
begin
### ADD THE TEST COMBINATIONS BELOW. DO NOT EDIT THE ABOVE LINES.
+### THE SCRIPT REQUIRES THE FOLLOWING UTILITIES xmlstarlet AND pcregrep.
combination=HNS-OAuth
@@ -34,6 +35,12 @@ properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
values=("{account name}.dfs.core.windows.net" "true" "OAuth")
generateconfigs
+combination=AppendBlob-HNS-OAuth
+properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
+"fs.azure.account.auth.type" "fs.azure.test.appendblob.enabled")
+values=("{account name}.dfs.core.windows.net" "true" "OAuth" "true")
+generateconfigs
+
combination=HNS-SharedKey
properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled" "fs.azure.account.auth.type")
values=("{account name}.dfs.core.windows.net" "true" "SharedKey")
diff --git a/hadoop-tools/hadoop-azure/src/test/resources/azure-auth-keys.xml.template b/hadoop-tools/hadoop-azure/src/test/resources/azure-auth-keys.xml.template
index 2e6e275..12dbbfa 100644
--- a/hadoop-tools/hadoop-azure/src/test/resources/azure-auth-keys.xml.template
+++ b/hadoop-tools/hadoop-azure/src/test/resources/azure-auth-keys.xml.template
@@ -167,7 +167,8 @@ create the test FS instance.
<value>false</value>
<description>If made true, tests will be running under the assumption that
append blob is enabled and the root directory and contract test root
- directory will be part of the append blob directories.
+ directory will be part of the append blob directories. Should be false for
+ non-HNS accounts.
</description>
</property>
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org