hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ANKITBHATNAGAR <abhatna...@vantage.com>
Subject retain state between mappers
Date Sat, 05 Feb 2011 12:03:44 GMT

Hi All,

I am working on a task where I have to determine the count in the sequence
and increment by one.

My input to the job is multiple files
input/abc.csv
input/xyz.csv

So for example if my mapper is processing abc.csv I should be able to say my
current count is 0.

for file xyz.csv I should be able to say current count is 1.

is there a way I can retain the count between mappers and increment.?

Thanks
Ankit
-- 
View this message in context: http://old.nabble.com/retain-state-between-mappers-tp30851293p30851293.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message