| Package | Description |
|---|---|
| org.apache.slider.providers | |
| org.apache.slider.providers.agent | |
| org.apache.slider.providers.slideram | |
| org.apache.slider.server.appmaster.state |
| Modifier and Type | Method and Description |
|---|---|
List<ProviderRole> |
ProviderCore.getRoles() |
abstract List<ProviderRole> |
AbstractClientProvider.getRoles() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProviderService.rebuildContainerDetails(List<org.apache.hadoop.yarn.api.records.Container> liveContainers,
String applicationId,
Map<Integer,ProviderRole> providerRoles)
On AM restart (for whatever reason) this API is required to rebuild the AM
internal state with the containers which were already assigned and running
|
void |
AbstractProviderService.rebuildContainerDetails(List<org.apache.hadoop.yarn.api.records.Container> liveContainers,
String applicationId,
Map<Integer,ProviderRole> providerRoles)
No-op implementation of this method.
|
| Modifier and Type | Field and Description |
|---|---|
protected static List<ProviderRole> |
AgentRoles.ROLES
List of roles Agent provider does not have any roles by default.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ProviderRole> |
AgentRoles.getRoles() |
List<ProviderRole> |
AgentProviderService.getRoles() |
List<ProviderRole> |
AgentClientProvider.getRoles() |
| Modifier and Type | Method and Description |
|---|---|
void |
AgentProviderService.rebuildContainerDetails(List<org.apache.hadoop.yarn.api.records.Container> liveContainers,
String applicationId,
Map<Integer,ProviderRole> providerRoleMap) |
| Modifier and Type | Field and Description |
|---|---|
static ProviderRole |
SliderAMClientProvider.APPMASTER |
| Modifier and Type | Field and Description |
|---|---|
static List<ProviderRole> |
SliderAMClientProvider.ROLES
List of roles
|
| Modifier and Type | Method and Description |
|---|---|
List<ProviderRole> |
SliderAMProviderService.getRoles() |
List<ProviderRole> |
SliderAMClientProvider.getRoles() |
| Modifier and Type | Field and Description |
|---|---|
List<ProviderRole> |
AppStateBindingInfo.roles |
| Modifier and Type | Method and Description |
|---|---|
ProviderRole |
AppState.createDynamicProviderRole(String name,
MapOperations component)
Build a dynamic provider role
|
ProviderRole |
RoleStatus.getProviderRole()
Get the provider role
|
ProviderRole |
RoleHistory.lookupRole(int roleId)
Lookup a role by ID
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,ProviderRole> |
AppState.getRoleMap() |
Map<Integer,ProviderRole> |
AppState.getRolePriorityMap() |
List<ProviderRole> |
AppState.updateResourceDefinitions(ConfTree resources)
The resource configuration is updated -review and update state.
|
| Modifier and Type | Method and Description |
|---|---|
RoleStatus |
AppState.buildRole(ProviderRole providerRole)
Add knowledge of a role.
|
| Constructor and Description |
|---|
RoleStatus(ProviderRole providerRole) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.