@InterfaceAudience.Public
@InterfaceStability.Unstable
public class ImportCsv
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Constructor and Description |
|---|
ImportCsv() |
| 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) |
int |
run(String[] otherArgs) |
public static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
throws IOException,
ClassNotFoundException
conf - the current configurationargs - the command line parametersIOException - when setting up the job failsClassNotFoundExceptionpublic int run(String[] otherArgs) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.