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

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

commit 0650ad9b08f5d73a8bbb42659d57e64ff32c6c1b
Author: Tsz-Wo Nicholas Sze <[email protected]>
AuthorDate: Thu Dec 1 10:51:17 2022 -0800

    HDDS-7426. Add a new acceptance test for Streaming Pipeline. (#4019)
    
    (cherry picked from commit fb13d46ca6b8fd94971df29dd5f74adb42c30aa9)
---
 hadoop-ozone/dist/src/main/compose/ozone/docker-config       | 2 ++
 hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config | 2 ++
 hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot   | 8 ++++++++
 3 files changed, 12 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/compose/ozonesecure/docker-config 
b/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config
index 030cd79ec2..e241eff809 100644
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config
@@ -73,6 +73,8 @@ OZONE-SITE.XML_ozone.scm.dead.node.interval=45s
 OZONE-SITE.XML_hdds.container.report.interval=60s
 OZONE-SITE.XML_ozone.om.s3.grpc.server_enabled=true
 
+OZONE-SITE.XML_dfs.container.ratis.datastream.enabled=true
+
 HDFS-SITE.XML_dfs.datanode.kerberos.principal=dn/[email protected]
 HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab
 HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/[email protected]
diff --git a/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot 
b/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot
index 514e0e1dc9..d22a167d80 100644
--- a/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot
@@ -70,10 +70,18 @@ Check disk usage after create a file which uses RATIS 
replication type
                                 Should contain          ${result}         
${expectedDiskUsage}
 
 
+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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to