user2458922
user2458922

Reputation: 1721

Hadoop Oozie MapReduce Action Custom Partitioner

How to configure a custom partitioner on oozie workflow XML for a MapReduce Action? I tried using:

<property>
    <name>mapreduce.job.partitioner.class</name>
    <value>com.package.MyPartitioner</value>
</property>
<property>
    <name>mapreduce.partitioner.class</name>
    <value>com.package.MyPartitioner</value>
</property>

Upvotes: 0

Views: 62

Answers (1)

Murali
Murali

Reputation: 309

The below is the configuration for specifying partitioner class for mapreduce new api.

<property>
   <name>mapreduce.partitioner.class</name>
   <value>test.hadoop.apps.log.LogPartitioner</value>
</property>

Upvotes: 0

Related Questions