public class TaskReportPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRProtos.TaskReportProto> implements TaskReport
| Constructor and Description |
|---|
TaskReportPBImpl() |
TaskReportPBImpl(MRProtos.TaskReportProto proto) |
public TaskReportPBImpl()
public TaskReportPBImpl(MRProtos.TaskReportProto proto)
public MRProtos.TaskReportProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRProtos.TaskReportProto>public Counters getCounters()
getCounters in interface TaskReportpublic void setCounters(Counters counters)
setCounters in interface TaskReportpublic org.apache.hadoop.mapreduce.Counters getRawCounters()
getRawCounters in interface TaskReportpublic void setRawCounters(org.apache.hadoop.mapreduce.Counters rCounters)
setRawCounters in interface TaskReportpublic long getStartTime()
getStartTime in interface TaskReportpublic void setStartTime(long startTime)
setStartTime in interface TaskReportpublic long getFinishTime()
getFinishTime in interface TaskReportpublic void setFinishTime(long finishTime)
setFinishTime in interface TaskReportpublic TaskId getTaskId()
getTaskId in interface TaskReportpublic void setTaskId(TaskId taskId)
setTaskId in interface TaskReportpublic float getProgress()
getProgress in interface TaskReportpublic String getStatus()
getStatus in interface TaskReportpublic void setProgress(float progress)
setProgress in interface TaskReportpublic void setStatus(String status)
setStatus in interface TaskReportpublic TaskState getTaskState()
getTaskState in interface TaskReportpublic void setTaskState(TaskState taskState)
setTaskState in interface TaskReportpublic List<TaskAttemptId> getRunningAttemptsList()
getRunningAttemptsList in interface TaskReportpublic TaskAttemptId getRunningAttempt(int index)
getRunningAttempt in interface TaskReportpublic int getRunningAttemptsCount()
getRunningAttemptsCount in interface TaskReportpublic void addAllRunningAttempts(List<TaskAttemptId> runningAttempts)
addAllRunningAttempts in interface TaskReportpublic void addRunningAttempt(TaskAttemptId runningAttempts)
addRunningAttempt in interface TaskReportpublic void removeRunningAttempt(int index)
removeRunningAttempt in interface TaskReportpublic void clearRunningAttempts()
clearRunningAttempts in interface TaskReportpublic TaskAttemptId getSuccessfulAttempt()
getSuccessfulAttempt in interface TaskReportpublic void setSuccessfulAttempt(TaskAttemptId successfulAttempt)
setSuccessfulAttempt in interface TaskReportpublic List<String> getDiagnosticsList()
getDiagnosticsList in interface TaskReportpublic String getDiagnostics(int index)
getDiagnostics in interface TaskReportpublic int getDiagnosticsCount()
getDiagnosticsCount in interface TaskReportpublic void addAllDiagnostics(List<String> diagnostics)
addAllDiagnostics in interface TaskReportpublic void addDiagnostics(String diagnostics)
addDiagnostics in interface TaskReportpublic void removeDiagnostics(int index)
removeDiagnostics in interface TaskReportpublic void clearDiagnostics()
clearDiagnostics in interface TaskReportCopyright © 2022 Apache Software Foundation. All rights reserved.