Note: This program requires Hadoop environment to run.
Steps to run the word count program:
- Copy the "wordcount.jar" archive to your local drive
- run the "wordcount.jar" with the below command
- hadoop jar wordcount.jar cd.mapreduce.wordcount.main.WordCount
- Once the MapReduce job is complete, run a cat on the created part file to view the output
- hdfs dfs -cat
- Done!