anuragp010 commented on code in PR #12112:
URL: https://github.com/apache/ozone/pull/12112#discussion_r4661953586


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java:
##########
@@ -1317,6 +1307,23 @@ public OzoneOutputStream createFile(String keyName, long 
size,
             overWrite, recursive);
   }
 
+  /**
+   * OzoneFS api to create an output stream for a file.
+   *
+   * @param keyName Key name
+   * @param options Size, replication config, overwrite, recursive flags and 
storage policy of the file

Review Comment:
   Yes, I have updated this javadoc to not mention storagePolicy for now. It 
will be updated in the follow up ticket.



##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java:
##########
@@ -1292,6 +1279,24 @@ OzoneOutputStream createFile(String volumeName, String 
bucketName,
       String keyName, long size, ReplicationConfig replicationConfig,
       boolean overWrite, boolean recursive) throws IOException;
 
+  /**
+   * Creates an output stream for writing to a file.
+   *
+   * @param volumeName Volume name
+   * @param bucketName Bucket name
+   * @param keyName    Absolute path of the file to be written
+   * @param options    Size, replication config, overwrite, recursive flags 
and storage policy of the file

Review Comment:
   Yes, I have updated this javadoc to not mention storagePolicy for now. It 
will be updated as part of the follow up ticket.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to