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:
parent
b428d534fb
commit
f5e15dfb11
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue