hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akshaya iyengar <akshaya.iyen...@gmail.com>
Subject Reading a block of data in Map function
Date Wed, 07 Oct 2009 00:58:19 GMT
I am wondering how to read a block of data in Map. I have a file with a
single number on every line and I wish to calculate some statistics.

Once the file is divided into blocks and sent to different nodes by hadoop,
is it possible to read a chunk of the data in each map function? Right now
each map is reading one number at a time.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message