Class HelloWorld.MyReducer

  • Enclosing class:
    HelloWorld

    public static class HelloWorld.MyReducer
    extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,​org.apache.hadoop.io.Text,​DocumentURI,​org.apache.hadoop.io.Text>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer

        org.apache.hadoop.mapreduce.Reducer.Context
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.commons.logging.Log LOG  
    • Constructor Summary

      Constructors 
      Constructor Description
      MyReducer()  
    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • MyReducer

        public MyReducer()
    • Method Detail

      • reduce

        public void reduce​(org.apache.hadoop.io.IntWritable key,
                           Iterable<org.apache.hadoop.io.Text> values,
                           org.apache.hadoop.mapreduce.Reducer.Context context)
                    throws IOException,
                           InterruptedException
        Overrides:
        reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,​org.apache.hadoop.io.Text,​DocumentURI,​org.apache.hadoop.io.Text>
        Throws:
        IOException
        InterruptedException