Reputation: 137
If I have multiple reducers will the output be saved as multiple files?
If I have job.setNumReduceTasks(4)
, will the output write to 4 different files?
Upvotes: 2
Views: 871
Reputation: 453
In map-reduce job, if you set 4 reducers to implement the reducer jobs. By doing this, the final output will generate 4 part-files. like part-r-00001, part-r-00002, part-r-00003, part-r-00004. hope this clarify your doubts.
Upvotes: 1