public class AbfsTokenRenewer
extends org.apache.hadoop.security.token.TokenRenewer
AbfsDelegationTokenIdentifier.TOKEN_KIND.| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
AbfsTokenRenewer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
Cancel the delegation token.
|
boolean |
handleKind(org.apache.hadoop.io.Text kind) |
Checks if this particular object handles the Kind of token passed.
|
boolean |
isManaged(org.apache.hadoop.security.token.Token<?> token) |
Checks if passed token is managed.
|
long |
renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
Renew the delegation token.
|
public boolean handleKind(org.apache.hadoop.io.Text kind)
handleKind in class org.apache.hadoop.security.token.TokenRenewerkind - the kind of the tokenpublic boolean isManaged(org.apache.hadoop.security.token.Token<?> token)
throws java.io.IOException
isManaged in class org.apache.hadoop.security.token.TokenRenewertoken - the token being checkedjava.io.IOException - thrown when evaluating if token is managed.public long renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException,
java.lang.InterruptedException
renew in class org.apache.hadoop.security.token.TokenRenewertoken - token to renew.conf - configuration object.java.io.IOException - thrown when trying get current user.java.lang.InterruptedException - thrown when thread is interruptedpublic void cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException,
java.lang.InterruptedException
cancel in class org.apache.hadoop.security.token.TokenRenewertoken - token to cancel.conf - configuration object.java.io.IOException - thrown when trying get current user.java.lang.InterruptedException - thrown when thread is interrupted.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.