public static class RMDelegationTokenIdentifier.Renewer
extends org.apache.hadoop.security.token.TokenRenewer
Constructor and Description |
---|
Renewer() |
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) |
boolean |
isManaged(org.apache.hadoop.security.token.Token<?> token) |
long |
renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
static void |
setSecretManager(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<RMDelegationTokenIdentifier> secretManager,
InetSocketAddress serviceAddress) |
public boolean handleKind(org.apache.hadoop.io.Text kind)
handleKind
in class org.apache.hadoop.security.token.TokenRenewer
public boolean isManaged(org.apache.hadoop.security.token.Token<?> token) throws IOException
isManaged
in class org.apache.hadoop.security.token.TokenRenewer
IOException
@InterfaceAudience.Private public static void setSecretManager(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<RMDelegationTokenIdentifier> secretManager, InetSocketAddress serviceAddress)
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
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.