hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W.P. McNeill" <bill...@gmail.com>
Subject How do I configure a Partitioner in the new API?
Date Tue, 03 May 2011 23:43:14 GMT
I have a new-API
Partitioner<http://hadoop.apache.org/common/docs/r0.20.0/api/org/apache/hadoop/mapreduce/Partitioner.html>object
whose behavior needs to change based on values passed in from the job
configuration. It looks like there's no way to do this because the
Partitioner never gets passed a context, and the Hadoop framework creates
the actual Partitioner instance so I can't write a constructor. How do I
parameterize my Partitioner?

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