|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.TaskReport
public class TaskReport
A report on the state of a task.
| Constructor Summary | |
|---|---|
TaskReport()
|
|
| Method Summary | |
|---|---|
Counters |
getCounters()
A table of counters. |
String[] |
getDiagnostics()
A list of error messages. |
long |
getFinishTime()
Get finish time of task. |
float |
getProgress()
The amount completed, between zero and one. |
long |
getStartTime()
Get start time of task. |
String |
getState()
The most recent state, reported by a Reporter. |
String |
getTaskId()
The id of the task. |
void |
readFields(DataInput in)
Reads the fields of this object from in. |
void |
write(DataOutput out)
Writes the fields of this object to out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskReport()
| Method Detail |
|---|
public String getTaskId()
public float getProgress()
public String getState()
Reporter.
public String[] getDiagnostics()
public Counters getCounters()
public long getFinishTime()
public long getStartTime()
public void write(DataOutput out)
throws IOException
Writableout.
write in interface WritableIOException
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 WritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||