Tejaskriya commented on code in PR #8264:
URL: https://github.com/apache/ozone/pull/8264#discussion_r2071456934
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/logs/container/utils/ContainerDatanodeDatabase.java:
##########
@@ -48,6 +47,16 @@ public class ContainerDatanodeDatabase {
private static String databasePath;
private static final int DEFAULT_REPLICATION_FACTOR;
+
+ private final PrintWriter out;
+
+ public ContainerDatanodeDatabase() {
+ this.out = new PrintWriter(new OutputStreamWriter(System.out,
StandardCharsets.UTF_8), true);
+ }
+
+ public ContainerDatanodeDatabase(PrintWriter out, PrintWriter err) {
Review Comment:
Looks like after changing the exceptions, we aren't using err anywhere, we
can remove it from the constructor
--
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]