@InterfaceAudience.Public public class RowCounter extends AbstractHBaseTool
AbstractHBaseTool.OptionsOrderComparatorcmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION| Constructor and Description |
|---|
RowCounter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf)
Sets up the actual job.
|
static org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
Deprecated.
as of release 2.3.0. Will be removed on 4.0.0. Please use main method instead.
|
protected int |
doWork() |
static void |
main(String[] args)
Main entry point.
|
protected org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLineParser |
newParser() |
protected void |
printUsage() |
protected void |
printUsage(String usageStr,
String usageHeader,
String usageFooter) |
protected void |
processOldArgs(List<String> args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsLong, parseArgs, parseInt, parseLong, run, setConfpublic org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf)
throws IOException
conf - The current configuration.IOException - When setting up the job fails.@Deprecated public static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf, String[] args) throws IOException
conf - The current configuration.args - The command line parameters.IOException - When setting up the job fails.protected void printUsage()
printUsage in class AbstractHBaseToolprotected void printUsage(String usageStr, String usageHeader, String usageFooter)
printUsage in class AbstractHBaseToolprotected void addOptions()
addOptions in class AbstractHBaseToolprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
throws IllegalArgumentException
processOptions in class AbstractHBaseToolIllegalArgumentExceptionprotected void processOldArgs(List<String> args)
processOldArgs in class AbstractHBaseToolprotected int doWork()
throws Exception
doWork in class AbstractHBaseToolExceptionpublic static void main(String[] args) throws Exception
args - The command line parameters.Exception - When running the job fails.protected org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLineParser newParser()
newParser in class AbstractHBaseToolCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.