public class YarnAppState
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
org.apache.hadoop.yarn.api.records.ContainerId |
amContainerId
Id of the AM container (as allocated by the RM)
Used for displaying in the AM UI.
|
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
appAttemptId
Application Attempt Id as provided by Yarn
Used for displaying in the AM UI.
|
java.net.URL |
coordinatorUrl
Job Coordinator URL
Usage in
SamzaYarnAppMasterService & YarnContainerRunner |
java.util.concurrent.ConcurrentMap<java.lang.String,org.apache.hadoop.yarn.api.records.ContainerStatus> |
failedContainersStatus |
java.lang.String |
nodeHost
Host name of the NM on which the AM is running
Used for displaying in the AM UI.
|
int |
nodeHttpPort
Http port of the NM on which the AM is running
Used for displaying in the AM UI.
|
int |
nodePort
NM port on which the AM is running
Used for displaying in the AM UI.
|
java.util.Map<java.lang.String,org.apache.samza.job.yarn.YarnContainer> |
pendingProcessors |
java.net.URL |
rpcUrl
URL of the
ApplicationMasterRestServlet |
java.util.Map<java.lang.String,org.apache.samza.job.yarn.YarnContainer> |
runningProcessors
/**
State indicating whether the job is healthy or not
Modified by both the AMRMCallbackThread and the ContainerAllocator thread
|
int |
taskId
Task Id of the AM
Used for displaying in the AM UI.
|
java.net.URL |
trackingUrl
URL of the
ApplicationMasterWebServlet |
| Constructor and Description |
|---|
YarnAppState(int taskId,
org.apache.hadoop.yarn.api.records.ContainerId amContainerId,
java.lang.String nodeHost,
int nodePort,
int nodeHttpPort) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public java.util.Map<java.lang.String,org.apache.samza.job.yarn.YarnContainer> runningProcessors
public java.util.Map<java.lang.String,org.apache.samza.job.yarn.YarnContainer> pendingProcessors
public java.util.concurrent.ConcurrentMap<java.lang.String,org.apache.hadoop.yarn.api.records.ContainerStatus> failedContainersStatus
public final int taskId
ApplicationMasterRestServlet
and scalate/WEB-INF/views/index.scamlpublic final org.apache.hadoop.yarn.api.records.ContainerId amContainerId
ApplicationMasterRestServlet
and scalate/WEB-INF/views/index.scamlpublic final java.lang.String nodeHost
public final int nodePort
public final int nodeHttpPort
public final org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId
ApplicationMasterRestServletpublic java.net.URL coordinatorUrl
SamzaYarnAppMasterService & YarnContainerRunnerpublic java.net.URL rpcUrl
ApplicationMasterRestServletpublic java.net.URL trackingUrl
ApplicationMasterWebServlet