Java org.apache.hadoop.yarn.client.api NMClient fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.hadoop.yarn.client.api.NMClient has subclasses.
Click this link to see all its subclasses.

Method

NMClientcreateNMClient()
Create a new instance of NMClient.
NMClientcreateNMClient(String name)
Create a new instance of NMClient.
ContainerStatusgetContainerStatus(ContainerId containerId, NodeId nodeId)

Query the status of a container.

voidinit(Configuration conf)
This invokes #serviceInit
voidstart()
MapstartContainer(Container container, ContainerLaunchContext containerLaunchContext)

Start an allocated container.

The ApplicationMaster or other applications that use the client must provide the details of the allocated container, including the Id, the assigned node's Id and the token via Container .