Class DockerProviderService
java.lang.Object
org.apache.hadoop.yarn.service.provider.AbstractProviderService
org.apache.hadoop.yarn.service.provider.docker.DockerProviderService
- All Implemented Interfaces:
YarnServiceConstants,DockerKeys,ProviderService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.provider.ProviderService
ProviderService.ResolvedLaunchParams -
Field Summary
Fields inherited from class org.apache.hadoop.yarn.service.provider.AbstractProviderService
logFields inherited from interface org.apache.hadoop.yarn.service.provider.docker.DockerKeys
DOCKER_NETWORK, DOCKER_PREFIXFields inherited from interface org.apache.hadoop.yarn.service.provider.ProviderService
FAILED_LAUNCH_PARAMSFields inherited from interface org.apache.hadoop.yarn.service.conf.YarnServiceConstants
APP_CONF_DIR, APP_LIB_DIR, APP_RESOURCES_DIR, APP_TYPE, CONTAINER_STATE_REPORT_AS_SERVICE_STATE, CONTENT, DEPENDENCY_DIR, DEPENDENCY_DIR_PERMISSIONS, DEPENDENCY_LOCALIZED_DIR_LINK, DEPENDENCY_TAR_GZ_FILE_EXT, DEPENDENCY_TAR_GZ_FILE_NAME, ERR_FILE, HADOOP_USER_NAME, KEYTAB_DIR, KEYTAB_LOCATION, OUT_FILE, PRINCIPAL, PROPERTY_LIB_DIR, RESOURCE_DIR, SERVICE_BASE_DIRECTORY, SERVICE_CORE_JAR, SERVICES_DIRECTORY, SERVICES_PUBLIC_DIRECTORY, STDERR_AM, STDOUT_AM, SUBMITTED_CONF_DIR, SYSPROP_LOG_DIR, SYSPROP_LOG4J_CONFIGURATION, TMP_DIR_PREFIX, UPGRADE_DIR, YARN_SERVICE_LOG4J_FILENAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildContainerLaunchCommand(AbstractLauncher launcher, Service service, ComponentInstance instance, SliderFileSystem fileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext compLaunchContext, Map<String, String> tokensForSubstitution) voidprocessArtifact(AbstractLauncher launcher, ComponentInstance compInstance, SliderFileSystem fileSystem, Service service, ContainerLaunchService.ComponentLaunchContext compLaunchCtx) Methods inherited from class org.apache.hadoop.yarn.service.provider.AbstractProviderService
buildContainerEnvironment, buildContainerLaunchContext, buildContainerRetry, buildContainerTokens
-
Constructor Details
-
DockerProviderService
public DockerProviderService()
-
-
Method Details
-
processArtifact
public void processArtifact(AbstractLauncher launcher, ComponentInstance compInstance, SliderFileSystem fileSystem, Service service, ContainerLaunchService.ComponentLaunchContext compLaunchCtx) throws IOException - Specified by:
processArtifactin classAbstractProviderService- Throws:
IOException
-
buildContainerLaunchCommand
public void buildContainerLaunchCommand(AbstractLauncher launcher, Service service, ComponentInstance instance, SliderFileSystem fileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext compLaunchContext, Map<String, String> tokensForSubstitution) throws IOException, SliderException- Overrides:
buildContainerLaunchCommandin classAbstractProviderService- Throws:
IOExceptionSliderException
-