HDFS-16344. Improve DirectoryScanner.Stats#toString (#3695)

Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit 829af89dc4)
This commit is contained in:
litao 2021-11-29 16:48:10 +08:00 committed by Takanobu Asanuma
parent b428d534fb
commit f5e15dfb11
1 changed files with 3 additions and 2 deletions

View File

@ -140,7 +140,8 @@ public class DirectoryScanner implements Runnable {
+ ", missing metadata files: " + missingMetaFile + ", missing metadata files: " + missingMetaFile
+ ", missing block files: " + missingBlockFile + ", missing block files: " + missingBlockFile
+ ", missing blocks in memory: " + missingMemoryBlocks + ", missing blocks in memory: " + missingMemoryBlocks
+ ", mismatched blocks: " + mismatchBlocks; + ", mismatched blocks: " + mismatchBlocks
+ ", duplicated blocks: " + duplicateBlocks;
} }
} }
@ -355,7 +356,7 @@ public class DirectoryScanner implements Runnable {
} }
/** /**
* Main program loop for DirectoryScanner. Runs {@link reconcile()} and * Main program loop for DirectoryScanner. Runs {@link #reconcile()} and
* handles any exceptions. * handles any exceptions.
*/ */
@Override @Override