|
||||||||||
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 | |
---|---|
boolean |
equals(java.lang.Object o)
|
Counters |
getCounters()
A table of counters. |
TIPStatus |
getCurrentStatus()
The current status |
java.lang.String[] |
getDiagnostics()
A list of error messages. |
long |
getFinishTime()
Get finish time of task. |
float |
getProgress()
The amount completed, between zero and one. |
java.util.Collection<TaskAttemptID> |
getRunningTaskAttempts()
Get the running task attempt IDs for this task |
long |
getStartTime()
Get start time of task. |
java.lang.String |
getState()
The most recent state, reported by a Reporter . |
TaskAttemptID |
getSuccessfulTaskAttempt()
Get the attempt ID that took this task to completion |
java.lang.String |
getTaskId()
Deprecated. use getTaskID() instead |
TaskID |
getTaskID()
The id of the task. |
int |
hashCode()
|
void |
readFields(java.io.DataInput in)
|
void |
setRunningTaskAttempts(java.util.Collection<TaskAttemptID> runningAttempts)
set running attempt(s) of the task. |
void |
setSuccessfulAttempt(TaskAttemptID t)
set successful attempt ID of the task. |
void |
write(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskReport()
Method Detail |
---|
@Deprecated public java.lang.String getTaskId()
getTaskID()
instead
public TaskID getTaskID()
public float getProgress()
public java.lang.String getState()
Reporter
.
public java.lang.String[] getDiagnostics()
public Counters getCounters()
public TIPStatus getCurrentStatus()
public long getFinishTime()
public long getStartTime()
public void setSuccessfulAttempt(TaskAttemptID t)
public TaskAttemptID getSuccessfulTaskAttempt()
public void setRunningTaskAttempts(java.util.Collection<TaskAttemptID> runningAttempts)
public java.util.Collection<TaskAttemptID> getRunningTaskAttempts()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |