| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.Path |
SliderUtils.extractImagePath(CoreFileSystem fs,
MapOperations internalOptions) |
| Modifier and Type | Method and Description |
|---|---|
MapOperations |
ConfTreeOperations.getComponent(String component)
look up a component and return its options
|
MapOperations |
ConfTreeOperations.getGlobalOptions()
Get operations on the global set
|
MapOperations |
ConfTreeOperations.getMandatoryComponent(String name)
Get a component whose presence is mandatory
|
MapOperations |
ConfTreeOperations.getOrAddComponent(String name)
Get a component -adding it to the components map if
none with that name exists
|
| Modifier and Type | Field and Description |
|---|---|
protected MapOperations |
AbstractLauncher.env |
| Modifier and Type | Method and Description |
|---|---|
MapOperations |
AbstractLauncher.getEnv()
Get the env vars to work on
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractLauncher.copyEnvVars(MapOperations options)
Important: the configuration must already be fully resolved
in order to pick up global options
Copy env vars into the launch context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProviderService.buildContainerLaunchContext(ContainerLauncher containerLauncher,
AggregateConf instanceDefinition,
org.apache.hadoop.yarn.api.records.Container container,
String role,
SliderFileSystem sliderFileSystem,
org.apache.hadoop.fs.Path generatedConfPath,
MapOperations resourceComponent,
MapOperations appComponent,
org.apache.hadoop.fs.Path containerTmpDirPath)
Set up the entire container launch context
|
void |
ProviderUtils.propagateOption(MapOperations global,
String optionKey,
Map<String,String> sitexml,
String siteKey)
Propagate an option from the cluster specification option map
to the site XML map, using the site key for the name
|
| Modifier and Type | Method and Description |
|---|---|
void |
AgentProviderService.buildContainerLaunchContext(ContainerLauncher launcher,
AggregateConf instanceDefinition,
org.apache.hadoop.yarn.api.records.Container container,
String role,
SliderFileSystem fileSystem,
org.apache.hadoop.fs.Path generatedConfPath,
MapOperations resourceComponent,
MapOperations appComponent,
org.apache.hadoop.fs.Path containerTmpDirPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
SliderAMProviderService.buildContainerLaunchContext(ContainerLauncher containerLauncher,
AggregateConf instanceDefinition,
org.apache.hadoop.yarn.api.records.Container container,
String role,
SliderFileSystem sliderFileSystem,
org.apache.hadoop.fs.Path generatedConfPath,
MapOperations resourceComponent,
MapOperations appComponent,
org.apache.hadoop.fs.Path containerTmpDirPath) |
void |
SliderAMClientProvider.prepareAMResourceRequirements(MapOperations sliderAM,
org.apache.hadoop.yarn.api.records.Resource capability)
Update the AM resource with any local needs
|
| Modifier and Type | Method and Description |
|---|---|
MapOperations |
SliderAppMaster.getGlobalInternalOptions()
Get the global internal options for the AM
|
| Modifier and Type | Method and Description |
|---|---|
ProviderRole |
AppState.createDynamicProviderRole(String name,
MapOperations component)
Build a dynamic provider role
|
| Modifier and Type | Method and Description |
|---|---|
AgentWebApp.Builder |
AgentWebApp.Builder.withComponentConfig(MapOperations appMasterConfig) |
| Modifier and Type | Method and Description |
|---|---|
SecurityStore |
TruststoreGenerator.generate(String hostname,
String containerId,
AggregateConf instanceDefinition,
MapOperations compOps,
String role) |
SecurityStore |
SecurityStoreGenerator.generate(String hostname,
String containerId,
AggregateConf instanceDefinition,
MapOperations compOps,
String role) |
SecurityStore |
KeystoreGenerator.generate(String hostname,
String containerId,
AggregateConf instanceDefinition,
MapOperations compOps,
String role) |
static SecurityStore[] |
StoresGenerator.generateSecurityStores(String hostname,
String containerId,
String role,
AggregateConf instanceDefinition,
MapOperations compOps) |
protected String |
AbstractSecurityStoreGenerator.getStorePassword(Map<String,List<String>> credentials,
MapOperations compOps,
String role) |
void |
CertificateManager.initialize(MapOperations compOperations) |
void |
CertificateManager.initialize(MapOperations compOperations,
String hostname,
String containerId,
String appName)
Verify that root certificate exists, generate it otherwise.
|
static void |
SecurityUtils.initializeSecurityParameters(MapOperations configMap) |
static void |
SecurityUtils.initializeSecurityParameters(MapOperations configMap,
boolean persistPassword) |
boolean |
SecurityStoreGenerator.isStoreRequested(MapOperations compOps) |
boolean |
AbstractSecurityStoreGenerator.isStoreRequested(MapOperations compOps) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.