public class ImportHBaseSnapshotJob
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ImportHBaseSnapshotJob.ScanCounter |
protected static class |
ImportHBaseSnapshotJob.SnapshotMapper
MAPPER
|
| Constructor and Description |
|---|
ImportHBaseSnapshotJob() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf)
Sets up the actual job.
|
static int |
innerMain(org.apache.hadoop.conf.Configuration conf,
String[] args)
Call this method to avoid the
main(String[]) System.exit. |
static void |
main(String[] args) |
int |
run(String[] args)
Job runner
|
protected static int |
setConfFromArgs(org.apache.hadoop.conf.Configuration conf,
String[] args) |
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.Toolargs - command line inputException - terminal for application failureprotected static int setConfFromArgs(org.apache.hadoop.conf.Configuration conf,
String[] args)
protected static 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.public static int innerMain(org.apache.hadoop.conf.Configuration conf,
String[] args)
throws Exception
main(String[]) System.exit.args - Exception