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>
This commit is contained in:
litao 2021-11-29 16:48:10 +08:00 committed by GitHub
parent 215388beea
commit 829af89dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -141,7 +141,8 @@ public class DirectoryScanner implements Runnable {
+ ", missing metadata files: " + missingMetaFile
+ ", missing block files: " + missingBlockFile
+ ", missing blocks in memory: " + missingMemoryBlocks
+ ", mismatched blocks: " + mismatchBlocks;
+ ", mismatched blocks: " + mismatchBlocks
+ ", duplicated blocks: " + duplicateBlocks;
}
}
@ -391,7 +392,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.
*/
@Override