adoroszlai commented on code in PR #5275:
URL: https://github.com/apache/ozone/pull/5275#discussion_r1363951449
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java:
##########
@@ -2222,6 +2225,43 @@ public List<OzoneFileStatus> listStatus(OmKeyArgs args,
boolean recursive,
return statusList;
}
+ @Override
+ public List<OzoneFileStatusLight> listStatusLight(OmKeyArgs args,
+ boolean recursive, String startKey, long numEntries,
+ boolean allowPartialPrefixes) throws IOException {
+ KeyArgs keyArgs = KeyArgs.newBuilder()
+ .setVolumeName(args.getVolumeName())
+ .setBucketName(args.getBucketName())
+ .setKeyName(args.getKeyName())
+ .setSortDatanodes(args.getSortDatanodes())
+ .setLatestVersionLocation(args.getLatestVersionLocation())
Review Comment:
If `BasicKeyInfo` does not include key locations, are these necessary? I
wonder if we should hard-code `setSortDatanodes(false)` and
`setLatestVersionLocation(true)`?
(also applies to `OzoneManagerRequestHandler`)
--
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]