Package ml.shifu.guagua.mapreduce
Class GuaguaOutputFormat
- java.lang.Object
-
- org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
- ml.shifu.guagua.mapreduce.GuaguaOutputFormat
-
public class GuaguaOutputFormat extends org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>This is for internal use only. In guagua framework, we don't use mapreduce output format, so this is empty implementation.
-
-
Constructor Summary
Constructors Constructor Description GuaguaOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)org.apache.hadoop.mapreduce.OutputCommittergetOutputCommitter(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)
-
-
-
Method Detail
-
getOutputCommitter
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException- Specified by:
getOutputCommitterin classorg.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
getRecordWriter
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- Specified by:
getRecordWriterin classorg.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
checkOutputSpecs
public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException- Specified by:
checkOutputSpecsin classorg.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
-