szetszwo commented on a change in pull request #2495:
URL: https://github.com/apache/ozone/pull/2495#discussion_r686138677
##########
File path:
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java
##########
@@ -528,6 +529,43 @@ public OzoneOutputStream createKey(String key, long size,
.createKey(volumeName, name, key, size, replicationConfig,
keyMetadata);
}
+ /**
+ * Creates a new key in the bucket.
+ * @param key Name of the key to be created.
+ * @param size Size of the data the key will point to.
+ * @param type Replication type to be used.
+ * @param factor Replication factor of the key.
+ * @return OzoneDataStreamOutput to which the data has to be written.
+ * @throws IOException
+ */
+ @Deprecated
+ public OzoneDataStreamOutput createStreamKey(String key, long size,
Review comment:
Since this is already deprecated, let's don't add it.
--
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]