public class TaskAttemptInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected ContainerId |
assignedContainer |
protected String |
assignedContainerId |
protected String |
diagnostics |
protected long |
elapsedTime |
protected long |
finishTime |
protected String |
id |
protected String |
nodeHttpAddress |
protected float |
progress |
protected String |
rack |
protected long |
startTime |
protected TaskAttemptState |
state |
protected String |
type |
Constructor and Description |
---|
TaskAttemptInfo() |
TaskAttemptInfo(TaskAttempt ta,
Boolean isRunning) |
TaskAttemptInfo(TaskAttempt ta,
TaskType type,
Boolean isRunning) |
Modifier and Type | Method and Description |
---|---|
ContainerId |
getAssignedContainerId() |
String |
getAssignedContainerIdStr() |
long |
getElapsedTime() |
long |
getFinishTime() |
String |
getId() |
String |
getNode() |
String |
getNote() |
float |
getProgress() |
String |
getRack() |
long |
getStartTime() |
String |
getState() |
protected long startTime
protected long finishTime
protected long elapsedTime
protected float progress
protected String id
protected String rack
protected TaskAttemptState state
protected String nodeHttpAddress
protected String diagnostics
protected String type
protected String assignedContainerId
protected ContainerId assignedContainer
public TaskAttemptInfo()
public TaskAttemptInfo(TaskAttempt ta, Boolean isRunning)
public TaskAttemptInfo(TaskAttempt ta, TaskType type, Boolean isRunning)
public String getAssignedContainerIdStr()
public ContainerId getAssignedContainerId()
public String getState()
public String getId()
public long getStartTime()
public long getFinishTime()
public float getProgress()
public long getElapsedTime()
public String getNode()
public String getRack()
public String getNote()
Copyright © 2013 Apache Software Foundation. All rights reserved.