|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.mapReduce.Task org.apache.nutch.mapReduce.ReduceTask
A Reduce task.
Constructor Summary | |
ReduceTask()
|
|
ReduceTask(String jobFile,
String taskId,
String[] mapTaskIds,
int partition)
|
Method Summary | |
org.apache.nutch.mapReduce.TaskRunner |
createRunner(TaskTracker tracker)
Return an approprate thread runner for this task. |
String[] |
getMapTaskIds()
|
int |
getPartition()
|
void |
readFields(DataInput in)
Reads the fields of this object from in . |
void |
run(JobConf job,
TaskUmbilicalProtocol umbilical)
Run this task as a part of the named job. |
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class org.apache.nutch.mapReduce.Task |
getJobFile, getTaskId, setJobFile, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReduceTask()
public ReduceTask(String jobFile, String taskId, String[] mapTaskIds, int partition)
Method Detail |
public org.apache.nutch.mapReduce.TaskRunner createRunner(TaskTracker tracker)
Task
createRunner
in class Task
public String[] getMapTaskIds()
public int getPartition()
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
write
in class Task
IOException
public void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
readFields
in class Task
IOException
public void run(JobConf job, TaskUmbilicalProtocol umbilical) throws IOException
Task
run
in class Task
umbilical
- for progress reports
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |