rakeshadr commented on a change in pull request #814: HDDS-3286. 
BasicOzoneFileSystem  support batchDelete and batchRename.
URL: https://github.com/apache/hadoop-ozone/pull/814#discussion_r407561162
 
 

 ##########
 File path: 
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java
 ##########
 @@ -382,11 +382,25 @@ public void deleteKey(String key) throws IOException {
     proxy.deleteKey(volumeName, name, key);
   }
 
+  /**
+   * Deletes key from the bucket.
+   * @param keyList List of the key name to be deleted.
+   * @throws IOException
+   */
+  public void deleteKeyList(List<String> keyList) throws IOException {
+    proxy.deleteKeyList(volumeName, name, keyList);
+  }
+
   public void renameKey(String fromKeyName, String toKeyName)
       throws IOException {
     proxy.renameKey(volumeName, name, fromKeyName, toKeyName);
   }
 
+  public void renameKey(Map<String, String> keyMap)
 
 Review comment:
   Can we follow naming convention for the collection APIs?
   
    How about something like below. The same comment applicable to delete list 
api as well.
   `#renameKeys`
   `#deleteKeys`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to