In this post we will discuss about basic MRUnit example for Wordcount algorithm. Below are the tools used in this example Eclipse 3.8, mrunit-1.0.0-hadoop2.jar Procedure: 1. Download mrunit jar from this link and add this to the java project build path (File –> properties –> java build path –> add external jars) in eclipse. 2. As we are testing wordcount algorithm…Below is the code for the same.
Running Sample Mapreduce – Word Count Program in Eclipse This post is an extension of previous post about configuring eclipse for Hadoop. Once the configuration is done successfully, we can run the sample mapreduce programs in Eclipse IDE. In this Eclipse Mapreduce Example post, We will discuss the development of sample Word Count mapredue program from scratch and execute the jar file on hadoop cluster and verify the results. 1. Start eclipse […]