smengcl commented on code in PR #5087:
URL: https://github.com/apache/ozone/pull/5087#discussion_r1267480451
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -4665,10 +4671,13 @@ public String printCompactionLogDag(String fileName,
type = FILE_NAME;
}
- return getMetadataManager()
+ getMetadataManager()
.getStore()
.getRocksDBCheckpointDiffer()
- .pngPrintMutableGraph(fileName, type);
+ .pngPrintMutableGraph(tempFile.getAbsolutePath(), type);
+
+ return String.format("File: '%s' was created in \\tmp dir of OM leader " +
+ "node: '%s'.", tempFile.getName(), getOMNodeId());
Review Comment:
```suggestion
return String.format("Graph was generated at '\\tmp\%s' on leader OM " +
"node '%s'.", tempFile.getName(), getOMNodeId());
```
--
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]