Hi Bin YANG,
it can read as many lines/bytes as you want - but you need to implement your own RecordReader (http://lucene.apache.org/hadoop/api/org/apache/hadoop/mapred/RecordReader.html) for this (and InputFormat in order to make it usable for your jobs...) Just take a look at the LineRecordReader as a starting point on how to implement a RecordReader.

Cu on the 'net,
                       Bye - bye,

                                  <<<<< André <<<< >>>> èrbnA >>>>>

...you wrote:
hi colleague,

Does hadoop just provide reading the files from line to line?
How can I read many lines from a file?

thanks

Reply via email to