@InterfaceAudience.LimitedPrivate(value="Tools")
@InterfaceStability.Evolving
public class HFilePrettyPrinter
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
HFiles.| 构造器和说明 |
|---|
HFilePrettyPrinter() |
HFilePrettyPrinter(org.apache.hadoop.conf.Configuration conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args) |
boolean |
parseOptions(String[] args) |
int |
processFile(org.apache.hadoop.fs.Path file) |
int |
run(String[] args)
Runs the command-line pretty-printer, and returns the desired command
exit code (zero for success, non-zero for failure).
|
void |
setPrintStreams(PrintStream out,
PrintStream err) |
public HFilePrettyPrinter()
public HFilePrettyPrinter(org.apache.hadoop.conf.Configuration conf)
public void setPrintStreams(PrintStream out, PrintStream err)
public boolean parseOptions(String[] args) throws org.apache.hbase.thirdparty.org.apache.commons.cli.ParseException, IOException
org.apache.hbase.thirdparty.org.apache.commons.cli.ParseExceptionIOExceptionpublic int run(String[] args)
run 在接口中 org.apache.hadoop.util.Toolpublic int processFile(org.apache.hadoop.fs.Path file)
throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.