hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarandeep Singh" <tarand...@gmail.com>
Subject How to find partition number in reducer
Date Wed, 10 Dec 2008 02:15:40 GMT
Hi,

I want to find out the partition number (which is being handled by the
reducer). I can use this-
HashPartitioner.getPartition( ...) but it takes "Key" as argument.

Is there a way I can do something similar in configure( ) method (where I
have not got the Key yet)

Thanks,
Taran

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