Hi there,

I have a MapReduce job using the old API, in which I have a “job setup”
class that extends Configured and implements Tool, and in its run method
sets the mapper, reducer, and a custom partitioner, key comparator, and
value grouping comparator.

I want to run this MapReduce job as part of an Oozie workflow, but all of
the <map-reduce> examples I can find seem to set mapred.mapper.class and
mapred.reducer.class in the <configuration/>, rather than just specifying a
main class to run that does all this.

Is there some configuration option I’m missing, or should I be using a
<java> action for this, or am I going about this the wrong way and should
be setting my input and output formats, and my mapper,
reducer, partitioner, etc. classes in the Oozie workflow.xml and skipping
this main class?

-- 
Best wishes,
Dave Cardwell.

http://davecardwell.co.uk/

Reply via email to