|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class RegisterApplicationMasterResponse
The response sent by the ResourceManager
to a new
ApplicationMaster
on registration.
The response contains critical details such as:
ApplicationACL
s for the application.
ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)
Constructor Summary | |
---|---|
RegisterApplicationMasterResponse()
|
Method Summary | |
---|---|
abstract Map<ApplicationAccessType,String> |
getApplicationACLs()
Get the ApplicationACL s for the application. |
abstract ByteBuffer |
getClientToAMTokenMasterKey()
Get ClientToAMToken master key. |
abstract List<Container> |
getContainersFromPreviousAttempts()
Get the list of running containers as viewed by ResourceManager from previous application attempts. |
abstract Resource |
getMaximumResourceCapability()
Get the maximum capability for any Resource allocated by the
ResourceManager in the cluster. |
abstract List<NMToken> |
getNMTokensFromPreviousAttempts()
Get the list of NMTokens for communicating with the NMs where the containers of previous application attempts are running. |
abstract String |
getQueue()
Get the queue that the application was placed in. |
abstract EnumSet<org.apache.hadoop.yarn.proto.YarnServiceProtos.SchedulerResourceTypes> |
getSchedulerResourceTypes()
Get a set of the resource types considered by the scheduler. |
abstract void |
setClientToAMTokenMasterKey(ByteBuffer key)
Set ClientToAMToken master key. |
abstract void |
setQueue(String queue)
Set the queue that the application was placed in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegisterApplicationMasterResponse()
Method Detail |
---|
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getMaximumResourceCapability()
Resource
allocated by the
ResourceManager
in the cluster.
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Map<ApplicationAccessType,String> getApplicationACLs()
ApplicationACL
s for the application.
ApplicationACL
s@InterfaceAudience.Public @InterfaceStability.Stable public abstract ByteBuffer getClientToAMTokenMasterKey()
Get ClientToAMToken master key.
The ClientToAMToken master key is sent to ApplicationMaster
by ResourceManager
via RegisterApplicationMasterResponse
, used to verify corresponding ClientToAMToken.
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setClientToAMTokenMasterKey(ByteBuffer key)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getQueue()
Get the queue that the application was placed in.
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setQueue(String queue)
Set the queue that the application was placed in.
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<Container> getContainersFromPreviousAttempts()
Get the list of running containers as viewed by
ResourceManager
from previous application attempts.
ResourceManager
from previous application attemptsgetNMTokensFromPreviousAttempts()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<NMToken> getNMTokensFromPreviousAttempts()
getContainersFromPreviousAttempts()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract EnumSet<org.apache.hadoop.yarn.proto.YarnServiceProtos.SchedulerResourceTypes> getSchedulerResourceTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |