org.apache.hadoop.yarn.api.protocolrecords
Class GetDelegationTokenResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenResponse
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetDelegationTokenResponse
- extends Object
Response to a GetDelegationTokenRequest request
from the client. The response contains the token that
can be used by the containers to talk to ClientRMService.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetDelegationTokenResponse
public GetDelegationTokenResponse()
newInstance
@InterfaceAudience.Private
@InterfaceStability.Unstable
public static GetDelegationTokenResponse newInstance(Token rmDTToken)
getRMDelegationToken
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract Token getRMDelegationToken()
- The Delegation tokens have a identifier which maps to
AbstractDelegationTokenIdentifier.
setRMDelegationToken
@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract void setRMDelegationToken(Token rmDTToken)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.