|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.api.ApplicationInitializationContext
@InterfaceAudience.Public @InterfaceStability.Evolving public class ApplicationInitializationContext
Initialization context for AuxiliaryService when starting an
application.
| Constructor Summary | |
|---|---|
ApplicationInitializationContext(String user,
ApplicationId applicationId,
ByteBuffer appDataForService)
|
|
| Method Summary | |
|---|---|
ByteBuffer |
getApplicationDataForService()
Get the data sent to the NodeManager via ContainerManagementProtocol.startContainers(StartContainersRequest)
as part of ContainerLaunchContext.getServiceData() |
ApplicationId |
getApplicationId()
Get ApplicationId of the application |
String |
getUser()
Get the user-name of the application-submitter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@InterfaceAudience.Private
@InterfaceStability.Unstable
public ApplicationInitializationContext(String user,
ApplicationId applicationId,
ByteBuffer appDataForService)
| Method Detail |
|---|
public String getUser()
public ApplicationId getApplicationId()
ApplicationId of the application
public ByteBuffer getApplicationDataForService()
ContainerManagementProtocol.startContainers(StartContainersRequest)
as part of ContainerLaunchContext.getServiceData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||