public class

GenericApplicationMaster

extends Object
java.lang.Object
   ↳ org.apache.helix.provisioning.yarn.GenericApplicationMaster

Summary

Public Constructors
GenericApplicationMaster(ApplicationAttemptId appAttemptID)
Public Methods
ListenableFuture<ContainerAskResponse> acquireContainer(AMRMClient.ContainerRequest containerAsk)
void finish()
ListenableFuture<ContainerLaunchResponse> launchContainer(Container container, ContainerLaunchContext containerLaunchContext)
ListenableFuture<ContainerReleaseResponse> releaseContainer(Container container)
boolean start()
Parse command line options
ListenableFuture<ContainerStopResponse> stopContainer(Container container)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GenericApplicationMaster (ApplicationAttemptId appAttemptID)

Public Methods

public ListenableFuture<ContainerAskResponse> acquireContainer (AMRMClient.ContainerRequest containerAsk)

public void finish ()

public ListenableFuture<ContainerLaunchResponse> launchContainer (Container container, ContainerLaunchContext containerLaunchContext)

public ListenableFuture<ContainerReleaseResponse> releaseContainer (Container container)

public boolean start ()

Parse command line options

Returns
  • Whether init successful and run should be invoked
Throws
ParseException
IOException
YarnException
IOException
ParseException

public ListenableFuture<ContainerStopResponse> stopContainer (Container container)