@InterfaceAudience.Public public class Export extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
Import
to read it
back in again.Modifier and Type | Field and Description |
---|---|
(package private) static String |
JOB_NAME_CONF_KEY |
(package private) static String |
NAME |
Constructor and Description |
---|
Export() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
Sets up the actual job.
|
static void |
main(String[] args)
Main entry point.
|
int |
run(String[] args) |
static final String NAME
static final String JOB_NAME_CONF_KEY
public Export()
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.public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.