@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 configuration.args
- The command line parameters.IOException
- When setting up the job fails.ClassNotFoundException
public int run(String[] otherArgs) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2016 The Apache Software Foundation. All rights reserved.