Class NMToken
java.lang.Object
org.apache.hadoop.yarn.api.records.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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NMToken
public NMToken()
-
-
Method Details
-
newInstance
-
getNodeId
Get theNodeIdof theNodeManagerfor which the NMToken is used to authenticate.- Returns:
- the
NodeIdof theNodeManagerfor which the NMToken is used to authenticate.
-
setNodeId
-
getToken
Get theTokenused for authenticating withNodeManager- Returns:
- the
Tokenused for authenticating withNodeManager
-
setToken
-
hashCode
public int hashCode() -
equals
-