GeorgeJahad commented on code in PR #3980:
URL: https://github.com/apache/ozone/pull/3980#discussion_r1131561711
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMRatisSnapshots.java:
##########
@@ -227,6 +233,20 @@ public void testInstallSnapshot() throws Exception {
getDefaultBucketLayout()).get(followerOMMetaMngr.getOzoneKey(
volumeName, bucketName, newKeys.get(0))));
*/
+
+ // read back data from the OM snapshot
+ OmKeyArgs omKeyArgs = new OmKeyArgs.Builder()
+ .setVolumeName(volumeName)
+ .setBucketName(bucketName)
+ .setKeyName(".snapshot/snap1/" + keys.get(0)).build();
+ OmKeyInfo omKeyInfo = null;
+ try {
+ omKeyInfo = followerOM.lookupKey(omKeyArgs);
+ } catch (Exception e) {
Review Comment:
removed catch
--
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]