hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leiz <lzhan...@gmail.com>
Subject hwo to read a text file in Map function until reaching specific line
Date Fri, 26 Jun 2009 15:57:25 GMT

For example , I have a text file with 1000 lines.
I only want to read the first 500 line of the file.
How can I do in Map function?


View this message in context: http://www.nabble.com/hwo-to-read-a-text-file-in-Map-function-until-reaching-specific-line-tp24222783p24222783.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

View raw message