Dexin Wang
unread,Nov 11, 2009, 2:44:13 PM11/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cascading-user
I tried to set the number or reducers by doing:
Properties properties = new Properties();
properties.put("mapred.reduce.tasks", 10);
FlowConnector.setApplicationJarClass( properties,
MyClass.class );
but it doesn't seem to have any effect -- my jobs still have the same
number of reducers as before when it's not set.
Even if this works, how do I configure different number of reducers
for different jobs. My flow has a handful of jobs and I'd like to use
different number of reducers on them. Mainly, some of them will be
global sort/count, so I want just one reducer, while I want the
default number reducers configured by the cluster for some other jobs.