Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
import org.apache.hadoop.mapreduce.InputSplit;
import org.apache.hadoop.mapreduce.RecordReader;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
* @author milind
public class ExcelInputFormat extends FileInputFormat<LongWritable, Text> {
public RecordReader<LongWritable, Text> createRecordReader(InputSplit split,
TaskAttemptContext context) throws IOException, InterruptedException {
return new ExcelRecordReader();

This comment has been minimized.

Copy link
Owner Author

milindjagre commented May 9, 2016

This is a custom input format class to read Excel file using MapReduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.