The method setCombinerClass in the Java class org.apache.hadoop.mapred.JobConf is used to set the class that implements the combiner function for a MapReduce job. The combiner function is a optimization in the MapReduce framework that allows intermediate key-value pairs to be combined locally on each mapper node before sending them to the reducer. This reduces the amount of data transferred over the network, thereby improving the performance of the overall job. The setCombinerClass method allows the programmer to specify the class that contains the logic for the combiner function, which must implement the reduce function of the Reducer interface.
Java JobConf.setCombinerClass - 27 examples found. These are the top rated real world Java examples of org.apache.hadoop.mapred.JobConf.setCombinerClass extracted from open source projects. You can rate examples to help us improve the quality of examples.