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

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

Introduction

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

The text is from its open source code.

Method

KillApplicationResponseforceKillApplication(KillApplicationRequest request)

The interface used by clients to request the ResourceManager to abort submitted application.

The client, via KillApplicationRequest provides the ApplicationId of the application to be aborted.

In secure mode,the ResourceManager verifies access to the application, queue etc.

GetApplicationsResponsegetApplications(GetApplicationsRequest request)

The interface used by clients to get a report of Applications matching the filters defined by GetApplicationsRequest in the cluster from the ResourceManager or ApplicationHistoryServer.

GetDelegationTokenResponsegetDelegationToken(GetDelegationTokenRequest request)

The interface used by clients to get delegation token, enabling the containers to be able to talk to the service using those tokens.

GetNewApplicationResponsegetNewApplication(GetNewApplicationRequest request)

The interface used by clients to obtain a new ApplicationId for submitting new applications.

The ResourceManager responds with a new, monotonically increasing, ApplicationId which is used by the client to submit a new application.

The ResourceManager also responds with details such as maximum resource capabilities in the cluster as specified in GetNewApplicationResponse .

SubmitApplicationResponsesubmitApplication(SubmitApplicationRequest request)

The interface used by clients to submit a new application to the ResourceManager.

The client is required to provide details such as queue, Resource required to run the ApplicationMaster, the equivalent of ContainerLaunchContext for launching the ApplicationMaster etc.