Uses of Class
org.apache.hadoop.yarn.api.records.Token

Packages that use Token
org.apache.hadoop.mapreduce.v2.api.protocolrecords   
org.apache.hadoop.yarn.api.protocolrecords   
org.apache.hadoop.yarn.api.records   
org.apache.hadoop.yarn.client.api Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. 
 

Uses of Token in org.apache.hadoop.mapreduce.v2.api.protocolrecords
 

Methods in org.apache.hadoop.mapreduce.v2.api.protocolrecords that return Token
 Token RenewDelegationTokenRequest.getDelegationToken()
           
 Token CancelDelegationTokenRequest.getDelegationToken()
           
 

Methods in org.apache.hadoop.mapreduce.v2.api.protocolrecords with parameters of type Token
 void RenewDelegationTokenRequest.setDelegationToken(Token dToken)
           
 void CancelDelegationTokenRequest.setDelegationToken(Token dToken)
           
 

Uses of Token in org.apache.hadoop.yarn.api.protocolrecords
 

Methods in org.apache.hadoop.yarn.api.protocolrecords that return Token
abstract  Token AllocateResponse.getAMRMToken()
          The AMRMToken that belong to this attempt
abstract  Token StartContainerRequest.getContainerToken()
          Get the container token to be used for authorization during starting container.
abstract  Token GetDelegationTokenResponse.getRMDelegationToken()
          The Delegation tokens have a identifier which maps to AbstractDelegationTokenIdentifier.
 

Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type Token
static StartContainerRequest StartContainerRequest.newInstance(ContainerLaunchContext context, Token container)
           
static AllocateResponse AllocateResponse.newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<org.apache.hadoop.yarn.api.records.ContainerResourceIncrease> increasedContainers, List<org.apache.hadoop.yarn.api.records.ContainerResourceDecrease> decreasedContainers)
           
static GetDelegationTokenResponse GetDelegationTokenResponse.newInstance(Token rmDTToken)
           
abstract  void AllocateResponse.setAMRMToken(Token amRMToken)
           
abstract  void StartContainerRequest.setContainerToken(Token container)
           
abstract  void GetDelegationTokenResponse.setRMDelegationToken(Token rmDTToken)
           
 

Uses of Token in org.apache.hadoop.yarn.api.records
 

Methods in org.apache.hadoop.yarn.api.records that return Token
abstract  Token ApplicationReport.getAMRMToken()
          Get the AMRM token of the application.
abstract  Token ApplicationReport.getClientToAMToken()
          Get the client token for communicating with the ApplicationMaster.
abstract  Token Container.getContainerToken()
          Get the ContainerToken for the container.
abstract  Token NMToken.getToken()
          Get the Token used for authenticating with NodeManager
static Token Token.newInstance(byte[] identifier, String kind, byte[] password, String service)
           
 

Methods in org.apache.hadoop.yarn.api.records with parameters of type Token
static ApplicationReport ApplicationReport.newInstance(ApplicationId applicationId, ApplicationAttemptId applicationAttemptId, String user, String queue, String name, String host, int rpcPort, Token clientToAMToken, YarnApplicationState state, String diagnostics, String url, long startTime, long finishTime, FinalApplicationStatus finalStatus, ApplicationResourceUsageReport appResources, String origTrackingUrl, float progress, String applicationType, Token amRmToken)
           
static Container Container.newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken)
           
static NMToken NMToken.newInstance(NodeId nodeId, Token token)
           
abstract  void ApplicationReport.setAMRMToken(Token amRmToken)
           
abstract  void ApplicationReport.setClientToAMToken(Token clientToAMToken)
           
abstract  void Container.setContainerToken(Token containerToken)
           
abstract  void NMToken.setToken(Token token)
           
 

Uses of Token in org.apache.hadoop.yarn.client.api
 

Methods in org.apache.hadoop.yarn.client.api that return Token
static Token NMTokenCache.getNMToken(String nodeAddr)
          Returns NMToken, null if absent.
abstract  Token YarnClient.getRMDelegationToken(Text renewer)
           Get a delegation token so as to be able to talk to YARN using those tokens.
 Token NMTokenCache.getToken(String nodeAddr)
          Returns NMToken, null if absent
 

Methods in org.apache.hadoop.yarn.client.api with parameters of type Token
static void NMTokenCache.setNMToken(String nodeAddr, Token token)
          Sets the NMToken for node address only in the singleton obtained from NMTokenCache.getSingleton().
 void NMTokenCache.setToken(String nodeAddr, Token token)
          Sets the NMToken for node address
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.