Wednesday, 19 December 2012

What happens if number of reducers are 0? | Hadoop Interview Questions

It is legal to set the number of reduce-tasks to zero if no reduction is desired.
In this case the outputs of the map-tasks go directly to the FileSystem, into the output path set by setOutputPath(Path). The framework does not sort the map-outputs before writing them out to the FileSystem.

No comments: