@InterfaceAudience.Public @InterfaceStability.Stable public abstract class NMToken extends Object
The NMToken is used for authenticating communication with
NodeManager
It is issued by ResourceMananger
when ApplicationMaster
negotiates resource with ResourceManager
and
validated on NodeManager
side.
AllocateResponse.getNMTokens()
Constructor and Description |
---|
NMToken() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract NodeId |
getNodeId()
Get the
NodeId of the NodeManager for which the NMToken
is used to authenticate. |
abstract Token |
getToken()
Get the
Token used for authenticating with NodeManager |
int |
hashCode() |
abstract void |
setNodeId(NodeId nodeId) |
abstract void |
setToken(Token token) |
@InterfaceAudience.Public @InterfaceStability.Stable public abstract NodeId getNodeId()
NodeId
of the NodeManager
for which the NMToken
is used to authenticate.NodeId
of the NodeManager
for which the
NMToken is used to authenticate.@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setNodeId(NodeId nodeId)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Token getToken()
Token
used for authenticating with NodeManager
Token
used for authenticating with NodeManager
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setToken(Token token)
Copyright © 2024 Apache Software Foundation. All rights reserved.