@InterfaceAudience.Private
public class MRDelegationTokenRenewer
extends org.apache.hadoop.security.token.TokenRenewer
Constructor and Description |
---|
MRDelegationTokenRenewer() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
boolean |
handleKind(org.apache.hadoop.io.Text kind) |
protected MRClientProtocol |
instantiateHistoryProxy(org.apache.hadoop.conf.Configuration conf,
InetSocketAddress hsAddress) |
boolean |
isManaged(org.apache.hadoop.security.token.Token<?> token) |
long |
renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
protected void |
stopHistoryProxy(MRClientProtocol proxy) |
public boolean handleKind(org.apache.hadoop.io.Text kind)
handleKind
in class org.apache.hadoop.security.token.TokenRenewer
public long renew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException
renew
in class org.apache.hadoop.security.token.TokenRenewer
IOException
InterruptedException
public void cancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException
cancel
in class org.apache.hadoop.security.token.TokenRenewer
IOException
InterruptedException
public boolean isManaged(org.apache.hadoop.security.token.Token<?> token) throws IOException
isManaged
in class org.apache.hadoop.security.token.TokenRenewer
IOException
protected void stopHistoryProxy(MRClientProtocol proxy)
protected MRClientProtocol instantiateHistoryProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress hsAddress) throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.