hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason <urg...@gmail.com>
Subject Is it pissible get a number of mapper tasks?
Date Sat, 04 Dec 2010 01:11:40 GMT
In my mapper code I need to know the total number of mappers which is the same as number of
input splits.
(I need it for unique int Id generation)

Basically Im looking for an analog of context.getNumReduceTasks() but can't find it.



View raw message