@InterfaceAudience.Private public class NameDistributionVisitor extends Object
It analyzes file names in fsimage and prints the following information:
Modifier and Type | Class and Description |
---|---|
static class |
ImageVisitor.ImageElement
Structural elements of an FSImage that may be encountered within the
file.
|
Constructor and Description |
---|
NameDistributionVisitor(String filename,
boolean printToScreen) |
public NameDistributionVisitor(String filename, boolean printToScreen) throws IOException
IOException
protected void write(String toWrite) throws IOException
toWrite
- Text to write to fileIOException
Copyright © 2013 Apache Software Foundation. All rights reserved.