@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,
Configuration conf) |
boolean |
handleKind(Text kind) |
protected MRClientProtocol |
instantiateHistoryProxy(Configuration conf,
InetSocketAddress hsAddress) |
boolean |
isManaged(org.apache.hadoop.security.token.Token<?> token) |
long |
renew(org.apache.hadoop.security.token.Token<?> token,
Configuration conf) |
protected void |
stopHistoryProxy(MRClientProtocol proxy) |
public boolean handleKind(Text kind)
handleKind in class org.apache.hadoop.security.token.TokenRenewerpublic long renew(org.apache.hadoop.security.token.Token<?> token, Configuration conf) throws IOException, InterruptedException
renew in class org.apache.hadoop.security.token.TokenRenewerIOExceptionInterruptedExceptionpublic void cancel(org.apache.hadoop.security.token.Token<?> token, 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(Configuration conf, InetSocketAddress hsAddress) throws IOException
IOExceptionCopyright © 2018 CERN. All Rights Reserved.