adoroszlai commented on code in PR #7664:
URL: https://github.com/apache/ozone/pull/7664#discussion_r1917071971


##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/ldb/Checkpoint.java:
##########
@@ -59,13 +56,8 @@ public Void call() throws Exception {
         parent.getDbPath(), cfDescList, cfHandleList)) {
       ManagedCheckpoint cp = ManagedCheckpoint.create(db);
       cp.get().createCheckpoint(outputPath);
-      out().println("Created checkpoint at " + outputPath);
+      spec().commandLine().getOut().println("Created checkpoint at " + 
outputPath);

Review Comment:
   We can directly use `out()` from `AbstractSubcommand`.  (If it's not present 
in your branch, please merge from `master`, it was recently added in 
2516ea6eba.)



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