p2pMapReduce.entity
Class MapTaskRunner

java.lang.Object
  extended by p2pMapReduce.entity.TaskRunner
      extended by p2pMapReduce.entity.MapTaskRunner
All Implemented Interfaces:
java.util.concurrent.Callable<Task.TaskStatus>

public class MapTaskRunner
extends TaskRunner


Constructor Summary
MapTaskRunner(SlaveTask slaveTask, NodeModuleIF nodeModule)
           
 
Method Summary
 Task.TaskStatus call()
           
<KEYIN,VALUEIN>
boolean
sortOutput()
          Reads the temporary map output, sort it by key and write the definitive map output in the map output dir
 
Methods inherited from class p2pMapReduce.entity.TaskRunner
updateClassPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTaskRunner

public MapTaskRunner(SlaveTask slaveTask,
                     NodeModuleIF nodeModule)
Method Detail

call

public Task.TaskStatus call()
                     throws java.lang.Exception
Throws:
java.lang.Exception

sortOutput

public <KEYIN,VALUEIN> boolean sortOutput()
                   throws java.io.IOException
Reads the temporary map output, sort it by key and write the definitive map output in the map output dir

Throws:
java.io.IOException