You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/10/29 09:59:53 UTC

[GitHub] [ozone] szetszwo commented on a change in pull request #2770: HDDS-5743.[Ozone-Streaming] Add option to write files via streaming api in ofs and o3fs.

szetszwo commented on a change in pull request #2770:
URL: https://github.com/apache/ozone/pull/2770#discussion_r739101010



##########
File path: hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java
##########
@@ -259,6 +260,13 @@ public FSDataOutputStream createNonRecursive(Path path,
 
   private FSDataOutputStream createOutputStream(String key, short replication,
       boolean overwrite, boolean recursive) throws IOException {
+    boolean isRatisStreamingEnabled = getConf().getBoolean(
+        OzoneConfigKeys.DFS_CONTAINER_RATIS_DATASTREAM_ENABLE,
+        OzoneConfigKeys.DFS_CONTAINER_RATIS_DATASTREAM_ENABLE_DEFAULT);

Review comment:
       Let's use a different conf, say OZONE_FS_DATASTREAM_ENABLE.  OzoneConfigKeys.DFS_CONTAINER_RATIS_DATASTREAM_ENABLE is for container.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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