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:
parent
215388beea
commit
829af89dc4
|
@ -141,7 +141,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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.
|
* handles any exceptions.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue