Class GetDelegationTokenResponse

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenResponse

@Public @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.
  • Constructor Details

    • GetDelegationTokenResponse

      public GetDelegationTokenResponse()
  • Method Details

    • newInstance

      @Private @Unstable public static GetDelegationTokenResponse newInstance(Token rmDTToken)
    • getRMDelegationToken

      @Public @Stable public abstract Token getRMDelegationToken()
      The Delegation tokens have a identifier which maps to AbstractDelegationTokenIdentifier.
      Returns:
      the delegation tokens
    • setRMDelegationToken

      @Private @Unstable public abstract void setRMDelegationToken(Token rmDTToken)