|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Protocol that task child process uses to contact its parent process. The parent is a daemon which which polls the central master for a new map or reduce task and runs it as a child process. All communication between child and parent is via this protocol.
| Method Summary | |
void |
done(String taskid)
Report that the task is successfully completed. |
Task |
getTask(String taskid)
Called when a child task process starts, to get its task. |
void |
progress(String taskid,
FloatWritable progress)
Report child's progress to parent. |
| Method Detail |
public Task getTask(String taskid)
throws IOException
IOException
public void progress(String taskid,
FloatWritable progress)
throws IOException
progress - value between zero and one
IOException
public void done(String taskid)
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||