In this post I will give you a step by step instructions for running your first MapReduce Job.
Lets start
1.Here we are going to run a sample Sudoku Puzzle solver that is available in your Hadoop examples folder
For running this Sudoku Solver we need a file with .dta extension.In which the puzzle is available.
This file is available in your
/home/hadoopuser/hadoop/src/examples/org/apache/hadoop/examples/dancing/puzzle1.dta
The following path should be input for Sudoku Puzzle Solver.The Output will appear in terminal itself.
Now your ready just run the below lines
$ hadoop jar /home/hadoopuser/hadoop/hadoop-examples-1.2.1.jar sudoku
/home/hadoopuser/hadoop/src/examples/org/apache/hadoop/examples/dancing/puzzle1.dta
Output: