public static class HadoopConverterJob.ConvertingOutputFormat
extends org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
DATA_FILE_KEY  | 
protected static String | 
DATA_SUCCESS_KEY  | 
protected static String | 
PUBLISHED_SEGMENT_KEY  | 
| Constructor and Description | 
|---|
ConvertingOutputFormat()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)  | 
org.apache.hadoop.mapreduce.OutputCommitter | 
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)  | 
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> | 
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)  | 
protected static final String DATA_FILE_KEY
protected static final String DATA_SUCCESS_KEY
protected static final String PUBLISHED_SEGMENT_KEY
public org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                                                              throws IOException,
                                                                                                                     InterruptedException
getRecordWriter in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionpublic void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)
                      throws IOException,
                             InterruptedException
checkOutputSpecs in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                               throws IOException,
                                                                      InterruptedException
getOutputCommitter in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionCopyright © 2011–2018. All rights reserved.