@InterfaceAudience.Public @InterfaceStability.Evolving public class ApplicationInitializationContext extends Object
AuxiliaryService
when starting an
application.Constructor and Description |
---|
ApplicationInitializationContext(String user,
ApplicationId applicationId,
ByteBuffer appDataForService) |
Modifier and Type | Method and Description |
---|---|
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
|
@InterfaceAudience.Private @InterfaceStability.Unstable public ApplicationInitializationContext(String user, ApplicationId applicationId, ByteBuffer appDataForService)
public String getUser()
public ApplicationId getApplicationId()
ApplicationId
of the applicationpublic ByteBuffer getApplicationDataForService()
ContainerManagementProtocol.startContainers(StartContainersRequest)
as part of ContainerLaunchContext.getServiceData()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.