Class FsImageValidation
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.FsImageValidation
For validating
FSImage.
This tool will load the user specified FSImage,
build the namespace tree,
and then run validations over the namespace tree.
The main difference of this tool and
OfflineImageViewer
is that
OfflineImageViewer
only loads FSImage but it does not build the namespace tree.
Therefore, running validations over the namespace tree is impossible in
OfflineImageViewer.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvalidate(File path, AtomicInteger errorCount) static intvalidate(FSNamesystem namesystem)