|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.NMToken
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class NMToken
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 Summary | |
|---|---|
NMToken()
|
|
| Method Summary | |
|---|---|
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 |
static NMToken |
newInstance(NodeId nodeId,
Token token)
|
abstract void |
setNodeId(NodeId nodeId)
|
abstract void |
setToken(Token token)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NMToken()
| Method Detail |
|---|
@InterfaceAudience.Private
@InterfaceStability.Unstable
public static NMToken newInstance(NodeId nodeId,
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||