|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hama.bsp.BSPJobContext
org.apache.hama.bsp.TaskAttemptContext
public class TaskAttemptContext
The context for task attempts.
Field Summary |
---|
Fields inherited from class org.apache.hama.bsp.BSPJobContext |
---|
conf, INPUT_FORMAT_CLASS_ATTR, OUTPUT_FORMAT_CLASS_ATTR, WORK_CLASS_ATTR, WORKING_DIR |
Constructor Summary | |
---|---|
TaskAttemptContext(org.apache.hadoop.conf.Configuration conf,
TaskAttemptID taskId)
|
Method Summary | |
---|---|
java.lang.String |
getStatus()
Get the last set status message. |
TaskAttemptID |
getTaskAttemptID()
Get the unique name for this task attempt. |
void |
progress()
Report progress. |
void |
setStatus(java.lang.String msg)
Set the current status of the task to the given string. |
Methods inherited from class org.apache.hama.bsp.BSPJobContext |
---|
get, getConf, getInt, getJar, getJobID, getJobName, getLocalPath, getUser, getWorkingDirectory, writeXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskAttemptContext(org.apache.hadoop.conf.Configuration conf, TaskAttemptID taskId)
Method Detail |
---|
public TaskAttemptID getTaskAttemptID()
public void setStatus(java.lang.String msg) throws java.io.IOException
java.io.IOException
public java.lang.String getStatus()
public void progress()
progress
in interface org.apache.hadoop.util.Progressable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |