Class 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 Detail

      • GuaguaOutputFormat

        public GuaguaOutputFormat()
    • Method Detail

      • getOutputCommitter

        public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter​(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                       throws IOException,
                                                                              InterruptedException
        Specified by:
        getOutputCommitter in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
        Throws:
        IOException
        InterruptedException
      • 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:
        getRecordWriter in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
        Throws:
        IOException
        InterruptedException
      • checkOutputSpecs

        public void checkOutputSpecs​(org.apache.hadoop.mapreduce.JobContext context)
                              throws IOException,
                                     InterruptedException
        Specified by:
        checkOutputSpecs in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
        Throws:
        IOException
        InterruptedException