@InterfaceAudience.Private public class MapReduceHFileSplitterJob extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MapReduceHFileSplitterJob.HFileCellMapper
A mapper that just writes out cells.
|
Modifier and Type | Field and Description |
---|---|
static String |
BULK_OUTPUT_CONF_KEY |
private static String |
JOB_NAME_CONF_KEY |
private static org.slf4j.Logger |
LOG |
(package private) static String |
NAME |
static String |
TABLE_MAP_KEY |
static String |
TABLES_KEY |
Modifier | Constructor and Description |
---|---|
|
MapReduceHFileSplitterJob() |
protected |
MapReduceHFileSplitterJob(org.apache.hadoop.conf.Configuration c) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Job |
createSubmittableJob(String[] args)
Sets up the actual job.
|
static void |
main(String[] args)
Main entry point.
|
int |
run(String[] args) |
private void |
usage(String errorMsg)
Print usage
|
private static final org.slf4j.Logger LOG
static final String NAME
public static final String BULK_OUTPUT_CONF_KEY
public static final String TABLES_KEY
public static final String TABLE_MAP_KEY
private static final String JOB_NAME_CONF_KEY
public MapReduceHFileSplitterJob()
protected MapReduceHFileSplitterJob(org.apache.hadoop.conf.Configuration c)
public org.apache.hadoop.mapreduce.Job createSubmittableJob(String[] args) throws IOException
args
- The command line parameters.IOException
- When setting up the job fails.private void usage(String errorMsg)
errorMsg
- Error message. Can be null.public static void main(String[] args) throws Exception
args
- The command line parameters.Exception
- When running the job fails.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.