Hadoop Mapper only MapReduce jobs

It's funny! You can have mapper only Hadoop MapReduce Jobs. This would be useful sometime when you need to change the structure of data. Otherwise, you can use this way when to want to filter out data. But I don't think you will need this much often.

The first file is a simple mapper which really does nothing. You can change it as you want. You can see in the main method job.setNumReduceTasks(0); line which set reduce tasks to 0. You can find Maven project on GitHub

Tags

  • mapreduce
  • hadoop
  • mapper only mapreduce jobs