Class AbstractTasksModel.TaskModel
java.lang.Object
org.apache.drill.yarn.appMaster.http.AbstractTasksModel.TaskModel
- Enclosing class:
- AbstractTasksModel
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected org.apache.hadoop.yarn.api.records.Container
protected String
protected double
protected String
protected CoordinationProtos.DrillbitEndpoint
protected long
protected String
int
protected boolean
protected int
protected String
protected long
protected String
protected TaskState
protected String
protected String
protected String
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisplayString
(String value) getDisks()
getHost()
getLink()
int
getState()
int
int
boolean
boolean
boolean
boolean
isLive()
static String
reformatDiagnostics
(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
-