| Modifier and Type | Method and Description |
|---|---|
void |
SliderAppMaster.startContainer(org.apache.hadoop.yarn.api.records.Container container,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext ctx,
RoleInstance instance)
Async start container request
|
| Constructor and Description |
|---|
ActionStartContainer(String name,
org.apache.hadoop.yarn.api.records.Container container,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext ctx,
RoleInstance instance,
long delay,
TimeUnit timeUnit) |
| Modifier and Type | Field and Description |
|---|---|
RoleInstance |
AppState.NodeCompletionResult.roleInstance |
| Modifier and Type | Method and Description |
|---|---|
RoleInstance |
StateAccessForProviders.getLiveInstanceByContainerID(String containerId)
Get the
RoleInstance details on a container. |
RoleInstance |
ProviderAppState.getLiveInstanceByContainerID(String containerId) |
RoleInstance |
AppState.getLiveInstanceByContainerID(String containerId)
Lookup live instance by string value of container ID
|
RoleInstance |
StateAccessForProviders.getOwnedContainer(org.apache.hadoop.yarn.api.records.ContainerId id)
Get any active container with the given ID
|
RoleInstance |
ProviderAppState.getOwnedContainer(org.apache.hadoop.yarn.api.records.ContainerId id) |
RoleInstance |
AppState.getOwnedContainer(org.apache.hadoop.yarn.api.records.ContainerId id)
Look up an active container: any container that the AM has, even
if it is not currently running/live
|
RoleInstance |
StateAccessForProviders.getOwnedContainer(String id)
Get any active container with the given ID
|
RoleInstance |
ProviderAppState.getOwnedContainer(String id) |
RoleInstance |
AppState.getOwnedInstanceByContainerID(String containerId)
Lookup owned instance by string value of container ID
|
RoleInstance |
AppState.innerOnNodeManagerContainerStarted(org.apache.hadoop.yarn.api.records.ContainerId containerId)
container start event handler -throwing an exception on problems
|
RoleInstance |
AppState.onNodeManagerContainerStarted(org.apache.hadoop.yarn.api.records.ContainerId containerId)
container start event
|
| Modifier and Type | Method and Description |
|---|---|
List<RoleInstance> |
StateAccessForProviders.cloneLiveContainerInfoList()
Create a clone of the list of live cluster nodes.
|
List<RoleInstance> |
ProviderAppState.cloneLiveContainerInfoList() |
List<RoleInstance> |
AppState.cloneLiveContainerInfoList()
Clone the live container list.
|
List<RoleInstance> |
StateAccessForProviders.cloneOwnedContainerList()
Clone a list of active containers
|
List<RoleInstance> |
ProviderAppState.cloneOwnedContainerList() |
List<RoleInstance> |
AppState.cloneOwnedContainerList()
Clone the list of active (==owned) containers
|
List<RoleInstance> |
StateAccessForProviders.enumLiveInstancesInRole(String role)
Enum all role instances by role.
|
List<RoleInstance> |
ProviderAppState.enumLiveInstancesInRole(String role) |
List<RoleInstance> |
AppState.enumLiveNodesInRole(String role)
Enum all nodes by role.
|
List<RoleInstance> |
AppState.enumNodesWithRoleId(int roleId,
boolean owned)
enum nodes by role ID, from either the owned or live node list
|
Map<org.apache.hadoop.yarn.api.records.ContainerId,RoleInstance> |
StateAccessForProviders.getFailedContainers()
Get a map of all the failed containers
|
Map<org.apache.hadoop.yarn.api.records.ContainerId,RoleInstance> |
ProviderAppState.getFailedContainers() |
Map<org.apache.hadoop.yarn.api.records.ContainerId,RoleInstance> |
AppState.getFailedContainers() |
Map<org.apache.hadoop.yarn.api.records.ContainerId,RoleInstance> |
StateAccessForProviders.getLiveContainers()
Get the live containers.
|
Map<org.apache.hadoop.yarn.api.records.ContainerId,RoleInstance> |
ProviderAppState.getLiveContainers() |
Map<org.apache.hadoop.yarn.api.records.ContainerId,RoleInstance> |
AppState.getLiveContainers() |
List<RoleInstance> |
StateAccessForProviders.getLiveInstancesByContainerIDs(Collection<String> containerIDs)
Get the details on a list of instaces referred to by ID.
|
List<RoleInstance> |
ProviderAppState.getLiveInstancesByContainerIDs(Collection<String> containerIDs) |
List<RoleInstance> |
AppState.getLiveInstancesByContainerIDs(Collection<String> containerIDs) |
List<RoleInstance> |
StateAccessForProviders.lookupRoleContainers(String component)
Look up all containers of a specific component name
|
List<RoleInstance> |
ProviderAppState.lookupRoleContainers(String component) |
List<RoleInstance> |
SimpleReleaseSelector.sortCandidates(int roleId,
List<RoleInstance> candidates) |
List<RoleInstance> |
MostRecentContainerReleaseSelector.sortCandidates(int roleId,
List<RoleInstance> candidates) |
List<RoleInstance> |
ContainerReleaseSelector.sortCandidates(int roleId,
List<RoleInstance> candidates)
Given a list of candidate containers, return a sorted version of the priority
in which they should be released.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AppState.containerStartSubmitted(org.apache.hadoop.yarn.api.records.Container container,
RoleInstance instance)
Notification called just before the NM is asked to
start a container
|
boolean |
AppState.isShortLived(RoleInstance instance)
Is a role short lived by the threshold set for this application
|
void |
RoleHistory.onContainerStartSubmitted(org.apache.hadoop.yarn.api.records.Container container,
RoleInstance instance)
Event: a container start has been submitted
|
| Modifier and Type | Method and Description |
|---|---|
List<RoleInstance> |
SimpleReleaseSelector.sortCandidates(int roleId,
List<RoleInstance> candidates) |
List<RoleInstance> |
MostRecentContainerReleaseSelector.sortCandidates(int roleId,
List<RoleInstance> candidates) |
List<RoleInstance> |
ContainerReleaseSelector.sortCandidates(int roleId,
List<RoleInstance> candidates)
Given a list of candidate containers, return a sorted version of the priority
in which they should be released.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,RoleInstance> |
ContainerStatsBlock.getContainerInstances(List<RoleInstance> roleInstances) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,RoleInstance> |
ContainerStatsBlock.getContainerInstances(List<RoleInstance> roleInstances) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.