Java org.apache.hadoop.yarn.api.records ContainerLaunchContext fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.yarn.api.records ContainerLaunchContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.yarn.api.records ContainerLaunchContext.

The text is from its open source code.

Method

ListgetCommands()
Get the list of commands for launching the container.
MapgetEnvironment()
Get environment variables for the container.
MapgetLocalResources()
Get LocalResource required by the container.
MapgetServiceData()

Get application-specific binary service data.

ByteBuffergetTokens()
Get all the tokens needed by this container.
ContainerLaunchContextnewInstance(Map localResources, Map environment, List commands, Map serviceData, ByteBuffer tokens, Map acls)
ContainerLaunchContextnewInstance(Map localResources, Map environment, List commands, Map serviceData, ByteBuffer tokens, Map acls, ContainerRetryContext containerRetryContext)
voidsetApplicationACLs(Map acls)
Set the ApplicationACLs for the application.
voidsetCommands(List commands)
Add the list of commands for launching the container.
voidsetEnvironment(Map environment)
Add environment variables for the container.
voidsetLocalResources(Map localResources)
Set LocalResource required by the container.
voidsetServiceData(Map serviceData)

Set application-specific binary service data.

voidsetTokens(ByteBuffer tokens)
Set security tokens needed by this container.