You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by sz...@apache.org on 2022/11/22 20:05:32 UTC

[ozone] 01/01: HDDS-7426. Add a new acceptance test for Streaming Pipeline.

This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch HDDS-7426
in repository https://gitbox.apache.org/repos/asf/ozone.git

commit 0400358c75f9f63f9f6d290cb7e2a43bd28324a3
Author: Tsz-Wo Nicholas Sze <sz...@apache.org>
AuthorDate: Tue Nov 22 12:04:58 2022 -0800

    HDDS-7426. Add a new acceptance test for Streaming Pipeline.
---
 hadoop-ozone/dist/src/main/compose/ozone/docker-config     | 2 ++
 hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/hadoop-ozone/dist/src/main/compose/ozone/docker-config b/hadoop-ozone/dist/src/main/compose/ozone/docker-config
index f63a784a60..195bad6872 100644
--- a/hadoop-ozone/dist/src/main/compose/ozone/docker-config
+++ b/hadoop-ozone/dist/src/main/compose/ozone/docker-config
@@ -44,6 +44,8 @@ OZONE-SITE.XML_ozone.scm.stale.node.interval=30s
 OZONE-SITE.XML_ozone.scm.dead.node.interval=45s
 OZONE-SITE.XML_hdds.heartbeat.interval=5s
 
+OZONE-SITE.XML_dfs.container.ratis.datastream.enabled=true
+
 OZONE_CONF_DIR=/etc/hadoop
 OZONE_LOG_DIR=/var/log/hadoop
 
diff --git a/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot b/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot
index ccd44a9e1b..f48aa7f52c 100644
--- a/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot
@@ -54,10 +54,17 @@ Put
     ${result} =    Execute               ozone sh key list ${VOLUME}/${BUCKET} | jq -r '.[].name'
                    Should contain        ${result}         PUTFILE.txt
 
+Put with Streaming
+    ${result} =    Execute               ozone fs -D ozone.fs.datastream.enabled=true -put NOTICE.txt ${DEEP_URL}/STREAMING.txt
+                   Should Be Empty       ${result}
+    ${result} =    Execute               ozone sh key list ${VOLUME}/${BUCKET} | jq -r '.[].name'
+                   Should contain        ${result}         STREAMING.txt
+
 List
     ${result} =    Execute               ozone fs -ls ${DEEP_URL}/
                    Should contain        ${result}         NOTICE.txt
                    Should contain        ${result}         PUTFILE.txt
+                   Should contain        ${result}         STREAMING.txt
 
 Move
                    Execute               ozone fs -mv ${DEEP_URL}/NOTICE.txt ${DEEP_URL}/MOVED.TXT


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org