|
||||||||||
| 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 | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NMToken()
| Method Detail |
|---|
@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)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||