how to write a twister code with more than one reduce task

9 views
Skip to first unread message

Savyan PV

unread,
Mar 15, 2014, 12:30:26 AM3/15/14
to twister-disc...@googlegroups.com
How can i write a twister code with more than one reduce task.

public void driveMapReduce(String partitionFile, int numMapTasks,
            String initFile) throws Exception {
        long beforeTime = System.currentTimeMillis();
        int numReducers = 1; // we need only one reducer for the above

only here is need to be changed?

I am new to map reduce.
Reply all
Reply to author
Forward
0 new messages