//So can you guide me to write a InputFormat which splits the file //into multiple Splits more the number of mappers u assign , more the number of input splits in the mapreduce.. in effect, the number of inputsplits is equal to the number of mappers assigned.
that should take care of the problem i guess... Matthew On Fri, Dec 17, 2010 at 9:28 PM, madhu phatak <phatak....@gmail.com> wrote: > Hi > I have a very large file of size 1.4 GB. Each line of the file is a number > . > I want to find the sum all those numbers. > I wanted to use NLineInputFormat as a InputFormat but it sends only one > line > to the Mapper which is very in efficient. > So can you guide me to write a InputFormat which splits the file > into multiple Splits and each mapper can read multiple > line from each split > > Regards > Madhukar >