@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public class HFilePrettyPrinter extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
HFile
s.Constructor and Description |
---|
HFilePrettyPrinter() |
HFilePrettyPrinter(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
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.commons.cli.ParseException, IOException
org.apache.commons.cli.ParseException
IOException
public int run(String[] args)
run
in interface org.apache.hadoop.util.Tool
public int processFile(org.apache.hadoop.fs.Path file) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.