fmorg-git commented on code in PR #9894:
URL: https://github.com/apache/ozone/pull/9894#discussion_r2963730762
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java:
##########
@@ -2433,6 +2433,9 @@ private ListStatusRequest.Builder
createListStatusRequestBuilder(KeyArgs keyArgs
if (allowPartialPrefixes) {
listStatusRequestBuilder.setAllowPartialPrefix(allowPartialPrefixes);
}
+ if (listPrefix != null && !listPrefix.isEmpty()) {
Review Comment:
updated
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -2303,16 +2304,21 @@ public List<OzoneFileStatus> listStatus(String
volumeName, String bucketName,
}
@Override
- public List<OzoneFileStatusLight> listStatusLight(String volumeName,
- String bucketName, String keyName, boolean recursive, String startKey,
- long numEntries, boolean allowPartialPrefixes) throws IOException {
- OmKeyArgs keyArgs = prepareOmKeyArgs(volumeName, bucketName, keyName);
+ public List<OzoneFileStatusLight> listStatusLight(ListStatusLightOptions
options)
+ throws IOException {
+ OmKeyArgs keyArgs = prepareOmKeyArgs(options.getVolumeName(),
Review Comment:
updated
--
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]