Spring for Apache Hadoop

org.springframework.yarn.am
Interface ContainerLauncherInterceptor

All Known Implementing Classes:
AbstractBatchAppmaster, AbstractProcessingAppmaster, BatchAppmaster, StaticAppmaster

public interface ContainerLauncherInterceptor

Interface for interceptors that are able to view and/or modify the ContainerLaunchContext before the container is launched.

Author:
Janne Valkealahti

Method Summary
 org.apache.hadoop.yarn.api.records.ContainerLaunchContext preLaunch(org.apache.hadoop.yarn.api.records.Container container, org.apache.hadoop.yarn.api.records.ContainerLaunchContext context)
          Invoked before the ContainerLaunchContext is used to launch the container.
 

Method Detail

preLaunch

org.apache.hadoop.yarn.api.records.ContainerLaunchContext preLaunch(org.apache.hadoop.yarn.api.records.Container container,
                                                                    org.apache.hadoop.yarn.api.records.ContainerLaunchContext context)
Invoked before the ContainerLaunchContext is used to launch the container.

Parameters:
context - the ContainerLaunchContext
container - the Container
Returns:
Unchanged or modified ContainerLaunchContext

Spring for Apache Hadoop