devabhishekpal commented on code in PR #7060:
URL: https://github.com/apache/ozone/pull/7060#discussion_r1720666169


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -1762,20 +1762,15 @@ public List<OzoneKey> listKeys(String volumeName, 
String bucketName,
   @Override
   public List<RepeatedOmKeyInfo> listTrash(String volumeName, String 
bucketName,
       String startKeyName, String keyPrefix, int maxKeys) throws IOException {
-
-    Preconditions.checkNotNull(volumeName);
-    Preconditions.checkNotNull(bucketName);
-
-    return ozoneManagerClient.listTrash(volumeName, bucketName, startKeyName,
-        keyPrefix, maxKeys);
+    // listTrash is deprecated
+    throw new UnsupportedOperationException();

Review Comment:
   Updated in the latest commit 
[b645e54](https://github.com/apache/ozone/pull/7060/commits/b645e5448bf06a866dfff844e640a6bd64053bf9)



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