Class AbstractTasksModel.TaskModel
java.lang.Object
org.apache.drill.yarn.appMaster.http.AbstractTasksModel.TaskModel
- Enclosing class:
AbstractTasksModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected org.apache.hadoop.yarn.api.records.Containerprotected Stringprotected doubleprotected Stringprotected CoordinationProtos.DrillbitEndpointprotected longprotected Stringintprotected booleanprotected intprotected Stringprotected longprotected Stringprotected TaskStateprotected Stringprotected Stringprotected Stringprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayString(String value) getDisks()getHost()getLink()intgetState()intintbooleanbooleanbooleanbooleanisLive()static StringreformatDiagnostics(String orig) YARN diagnostics are verbose: they contain a stack trace of the YARN node manager thread (not Drill), and contain blank lines, the container ID, etc.
-
Field Details
-
id
public int id -
groupName
-
isLive
protected boolean isLive -
taskState
-
taskStateHint
-
state
-
cancelled
protected boolean cancelled -
trackingState
-
trackingStateHint
-
container
protected org.apache.hadoop.yarn.api.records.Container container -
endpoint
-
startTime
protected long startTime -
memoryMb
protected int memoryMb -
vcores
protected int vcores -
disks
protected double disks -
containerId
-
nmLink
-
endTime
protected long endTime -
disposition
-
tryCount
protected int tryCount
-
-
Constructor Details
-
TaskModel
-
-
Method Details
-
reformatDiagnostics
YARN diagnostics are verbose: they contain a stack trace of the YARN node manager thread (not Drill), and contain blank lines, the container ID, etc. Remove unnecessary cruft to make the diagnostics simpler and smaller in the Web UI.- Parameters:
orig- YARN diagnostics- Returns:
- cleaned-up version.
-
getTaskId
-
getGroupName
-
isLive
public boolean isLive() -
getHost
-
getLink
-
getState
-
getStateHint
-
isCancelled
public boolean isCancelled() -
isCancellable
public boolean isCancellable() -
getTrackingState
-
getTrackingStateHint
-
getStartTime
-
getMemory
public int getMemory() -
getVcores
public int getVcores() -
getDisks
-
hasContainer
public boolean hasContainer() -
getContainerId
-
getNmLink
-
getDisposition
-
getTryCount
public int getTryCount() -
displayString
-
getEndTime
-