sreejasahithi commented on code in PR #9599:
URL: https://github.com/apache/ozone/pull/9599#discussion_r2703119359
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/om/ContainerToKeyMapping.java:
##########
@@ -164,7 +168,7 @@ private void closeDirTreeDB(String dbPath) throws
IOException {
}
private void retrieve(PrintWriter writer, Set<Long> containerIds) {
- // Build dir tree
+ // Build dir tree for FSO keys
Map<Long, Pair<Long, String>> bucketVolMap = new HashMap<>();
try {
prepareDirIdTree(bucketVolMap);
Review Comment:
The prepareDirIdTree() method is always called which constructs both
bucketVolMap and dirTreeTable even when --onlyFileNames=true
but when --onlyFileNames=true, these are never used since processFSOKeys()
directly uses keyInfo.getKeyName().
--
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]