Class MRDelegationTokenRenewer

java.lang.Object
org.apache.hadoop.security.token.TokenRenewer
org.apache.hadoop.mapreduce.v2.security.MRDelegationTokenRenewer

@Private public class MRDelegationTokenRenewer extends org.apache.hadoop.security.token.TokenRenewer
  • Constructor Details

    • MRDelegationTokenRenewer

      public MRDelegationTokenRenewer()
  • Method Details

    • handleKind

      public boolean handleKind(org.apache.hadoop.io.Text kind)
      Specified by:
      handleKind in class org.apache.hadoop.security.token.TokenRenewer
    • renew

      public long renew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException
      Specified by:
      renew in class org.apache.hadoop.security.token.TokenRenewer
      Throws:
      IOException
      InterruptedException
    • cancel

      public void cancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException
      Specified by:
      cancel in class org.apache.hadoop.security.token.TokenRenewer
      Throws:
      IOException
      InterruptedException
    • isManaged

      public boolean isManaged(org.apache.hadoop.security.token.Token<?> token) throws IOException
      Specified by:
      isManaged in class org.apache.hadoop.security.token.TokenRenewer
      Throws:
      IOException
    • stopHistoryProxy

      protected void stopHistoryProxy(MRClientProtocol proxy)
    • instantiateHistoryProxy

      protected MRClientProtocol instantiateHistoryProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress hsAddress) throws IOException
      Throws:
      IOException