diff --git a/hadoop-ozone/dist/src/main/compose/ozone/docker-config b/hadoop-ozone/dist/src/main/compose/ozone/docker-config index f63a784a60f5..195bad687213 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 030cd79ec26c..e241eff809ee 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/dn@EXAMPLE.COM HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/ozone@EXAMPLE.COM diff --git a/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot b/hadoop-ozone/dist/src/main/smoketest/ozonefs/ozonefs.robot index 514e0e1dc941..d22a167d80da 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 fa13d556e271..5e267b3c4ad8 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 ${ozone.version} - 2.4.1 + 2.4.2-8b8bdda-SNAPSHOT 1.0.3