@InterfaceAudience.Private public class NameDistributionVisitor extends Object
It analyzes file names in fsimage and prints the following information:
限定符和类型 | 类和说明 |
---|---|
static class |
ImageVisitor.ImageElement
Structural elements of an FSImage that may be encountered within the
file.
|
构造器和说明 |
---|
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 © 2009 The Apache Software Foundation