The TaskTracker executes the Mapper/ Reducer task as a child process in a separate jvm and Tasktracker is part of Slavesnodes/Workernodes.
You could generate N MapReduce applications in the same java project, and then you re-use the Map, and develop N reducers.
job.setReducerClass in each main class you set each Reducer. The Map will be the same.
Hope this helps.
Note: Please vote-up if you like the answer.
Thanks for the time and explanation. If Reducer is running on TaskTracker in the salvenodes then when we are using multiple partitions (obviously multiple reducers) then how and where the result will be combined between the salvesnodes/workernodes?
Could you please explain more in detailed. If any document is available on this please share with me. Thanks in advance.