Cyrill commented on code in PR #5144: URL: https://github.com/apache/ozone/pull/5144#discussion_r1320757030
########## hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManagerUtils.java: ########## @@ -62,12 +62,41 @@ private OzoneManagerUtils() { * omMetadataManager().getBucketTable().get(buckKey) */ + public static OmBucketInfo getBucketInfo(OMMetadataManager metaMgr, + String volName, + String buckName) + throws IOException { + OmBucketInfo bucketInfo = getOmBucketInfo(metaMgr, volName, buckName); + if (bucketInfo == null) { + reportNotFound(metaMgr, volName, buckName); + } + return bucketInfo; + } + private static OmBucketInfo getOmBucketInfo(OMMetadataManager metaMgr, Review Comment: Not at the moment, I'm afraid. There is another usage, in `OzoneManagerUtils.resolveBucketInfoLink` -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org