I have a new-API
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?