org.apache.hadoop.hdfs.web
Class WebHdfsFileSystem.DtRenewer
java.lang.Object
org.apache.hadoop.security.token.TokenRenewer
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.DtRenewer
- Enclosing class:
- WebHdfsFileSystem
public static class WebHdfsFileSystem.DtRenewer
- extends org.apache.hadoop.security.token.TokenRenewer
Delegation token renewer.
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebHdfsFileSystem.DtRenewer
public WebHdfsFileSystem.DtRenewer()
handleKind
public boolean handleKind(org.apache.hadoop.io.Text kind)
- Specified by:
handleKind
in class org.apache.hadoop.security.token.TokenRenewer
isManaged
public boolean isManaged(org.apache.hadoop.security.token.Token<?> token)
throws IOException
- Specified by:
isManaged
in class org.apache.hadoop.security.token.TokenRenewer
- Throws:
IOException
renew
public long renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf)
throws IOException,
InterruptedException
- Specified by:
renew
in class org.apache.hadoop.security.token.TokenRenewer
- Throws:
IOException
InterruptedException
cancel
public void cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf)
throws IOException,
InterruptedException
- Specified by:
cancel
in class org.apache.hadoop.security.token.TokenRenewer
- Throws:
IOException
InterruptedException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.