Class GetDelegationTokenResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenResponse
Response to a
GetDelegationTokenRequest request
from the client. The response contains the token that
can be used by the containers to talk to ClientRMService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TokenThe Delegation tokens have a identifier which maps toAbstractDelegationTokenIdentifier.static GetDelegationTokenResponsenewInstance(Token rmDTToken) abstract voidsetRMDelegationToken(Token rmDTToken)
-
Constructor Details
-
GetDelegationTokenResponse
public GetDelegationTokenResponse()
-
-
Method Details
-
newInstance
-
getRMDelegationToken
The Delegation tokens have a identifier which maps toAbstractDelegationTokenIdentifier.- Returns:
- the delegation tokens
-
setRMDelegationToken
-