job.setNumReduceTasks(0)
results in a map only job
does this mean intermediate phase (shuffle and sort) are not performed?
how is it compared to having an empty reduce method (no operations):
public static class Reduce extends MapReduceBase implements Reducer<Text, IntWritable, Text, IntWritable> {
public void reduce(Text key, Iterator<IntWritable> values, OutputCollector<Text, IntWritable> output, Reporter reporter) throws IOException {
\\do nothing
}
}
Or is it equivalent