Hi, You can use the new api in your action if you set these two properties in the action's <configuration> section: <property> <name>mapred.mapper.new-api</name> <value>true</value> </property> <property> <name>mapred.reducer.new-api</name> <value>true</value> </property>
The JobConf.setUseNewMapper(boolean flag) simply sets the same property; same with JobConf.setUseNewReducer(boolean flag). - Robert On Mon, Sep 23, 2013 at 2:39 PM, KayVajj <vajjalak...@gmail.com> wrote: > I am implementing an oozie workflow MR job . I was not sure if I have to > use the mapred properties vs the mapreduce properties. > > I have seen that if mapreduce properties were to be used, it has to be set > explicitly like > > JobConf.setUseNewMapper(boolean flag) > > > How do I do the same in Oozie? > > Also another question, if I were to use the new properties where do I find > the property names like "mapreduce.job.inputformat.class" These seem to be > hidden in some private API. > > Thanks your answers are appreciated. > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "CDH Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cdh-user+unsubscr...@cloudera.org. > For more options, visit > https://groups.google.com/a/cloudera.org/groups/opt_out. >