Class NameDistributionVisitor
java.lang.Object
org.apache.hadoop.hdfs.tools.offlineImageViewer.NameDistributionVisitor
File name distribution visitor.
It analyzes file names in fsimage and prints the following information:
- Number of unique file names
- Number file names and the corresponding number range of files that use these same names
- Heap saved if the file name objects are reused
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NameDistributionVisitor
- Throws:
IOException
-
-
Method Details
-
write
Write parameter to output file (and possibly screen).- Parameters:
toWrite- Text to write to file- Throws:
IOException
-