@InterfaceAudience.Public @InterfaceStability.Stable public class ImportTsv extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
usage(String)| 限定符和类型 | 类和说明 |
|---|---|
static class |
ImportTsv.TsvParser |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ATTRIBUTE_SEPERATOR_CONF_KEY |
static String |
BULK_OUTPUT_CONF_KEY |
static String |
COLUMNS_CONF_KEY |
static String |
CREATE_TABLE_CONF_KEY |
static String |
CREDENTIALS_LOCATION |
static String |
DRY_RUN_CONF_KEY |
static String |
JOB_NAME_CONF_KEY |
protected static org.apache.commons.logging.Log |
LOG |
static String |
LOG_BAD_LINES_CONF_KEY |
static String |
MAPPER_CONF_KEY |
static String |
NO_STRICT_COL_FAMILY |
static String |
SEPARATOR_CONF_KEY |
static String |
SKIP_EMPTY_COLUMNS |
static String |
SKIP_LINES_CONF_KEY |
static String |
TIMESTAMP_CONF_KEY |
| 构造器和说明 |
|---|
ImportTsv() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected 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[] args) |
protected 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.ClassNotFoundExceptionpublic int run(String[] args) throws Exception
run 在接口中 org.apache.hadoop.util.ToolExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.