mapreduce1. Download load eclipse Europa or Indigo

2. Download Hadoop eclipse plugin eg: hadoop-eclipse-plugin-1.0.3.jar

3. Copy jar in eclipse plugin folder

4. Open eclipse

5. Add Map/Reduce server

6. Add New DFS Location

Location name: localhost

Map/Reduce Master:

port: 9001

DFS Master

port: 9000

7. New -> others -> Map/Reducer Project
-> Project Name(WordCount) -> configure hadoop file path -> finish

8. Right click on src -> Class -> WorldCount -> finish

9. copy code from

10. Give input and outfile paths
eg: /home/yash/inputtext.txt /home/yash/outputtext.txt

11. Run as (Run on Hadoop)


Subscribe to our Newsletter

Get The Free Collection of 60+ Big Data & Data Science Cheat Sheets. Stay up-to-date with the latest Big Data news.