|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 Taskpublic String[] getMapTaskIds()
public int getPartition()
public void write(DataOutput out)
throws IOException
Writableout.
write in interface Writablewrite in class TaskIOException
public void readFields(DataInput in)
throws IOException
Writablein. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields in interface WritablereadFields in class TaskIOException
public void run(JobConf job,
TaskUmbilicalProtocol umbilical)
throws IOException
Task
run in class Taskumbilical - for progress reports
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||