The below code is used for reading excel files using MapReduce API.
Entire source code has been taken from this link.
If you clean and build above project, it will create two jar files, out of which we have to use the jar file with dependencies.
I have used following command in order to run this mapreduce job.
hadoop jar mr-excel-jar-with-dependencies.jar /test.xls /mec
Following screenshot indicates test.xls contents
Following screenshot will give you idea about output part file.
Thanks for having the read.
Do comment if you have any concerns.