@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.TokenRenewerpublic 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.TokenRenewerIOExceptionInterruptedExceptionpublic 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.TokenRenewerIOExceptionInterruptedExceptionpublic boolean isManaged(org.apache.hadoop.security.token.Token<?> token)
throws IOException
isManaged in class org.apache.hadoop.security.token.TokenRenewerIOExceptionprotected void stopHistoryProxy(MRClientProtocol proxy)
protected MRClientProtocol instantiateHistoryProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress hsAddress) throws IOException
IOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.