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

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


The following commit(s) were added to refs/heads/HDDS-4454 by this push:
     new fb13d46ca6 HDDS-7426. Add a new acceptance test for Streaming 
Pipeline. (#4019)
fb13d46ca6 is described below

commit fb13d46ca6b8fd94971df29dd5f74adb42c30aa9
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)
---
 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 ++++++++
 pom.xml                                                      | 2 +-
 4 files changed, 13 insertions(+), 1 deletion(-)

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
diff --git a/pom.xml b/pom.xml
index fa13d556e2..5e267b3c4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,7 +72,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xs
     <declared.ozone.version>${ozone.version}</declared.ozone.version>
 
     <!-- Apache Ratis version -->
-    <ratis.version>2.4.1</ratis.version>
+    <ratis.version>2.4.2-8b8bdda-SNAPSHOT</ratis.version>
 
     <!-- Apache Ratis thirdparty version -->
     <ratis.thirdparty.version>1.0.3</ratis.thirdparty.version>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to