sodonnel commented on code in PR #6385:
URL: https://github.com/apache/ozone/pull/6385#discussion_r1595695455


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -1431,6 +1412,59 @@ public OzoneOutputStream createKey(
     return createOutputStream(openKey);
   }
 
+  @Override
+  public OzoneOutputStream rewriteKey(String volumeName, String bucketName, 
String keyName,
+      long size, long existingKeyGeneration, ReplicationConfig 
replicationConfig,
+      Map<String, String> metadata) throws IOException {
+    createKeyPreChecks(volumeName, bucketName, keyName, replicationConfig);
+    String ownerName = getRealUserInfo().getShortUserName();

Review Comment:
   This needs some more thought. I am going to defer this to another followup 
Jira so we can work out how it should behave.



-- 
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