If you wanna test you can use the Perfect Power program. This one find all the numbers from input files which are perfect powers from 2 to reducers_threads - 1.
Input File Example: 4 input/in1.txt input/in2.txt input/in3.txt input/in4.txt
Before run you need to use make command.
Run example: ./map_reduce 4 4 input.txt