public class FsDelegationTokenManager extends Object
| Constructor and Description |
|---|
FsDelegationTokenManager(QueueAccess queue) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireDelegationToken(org.apache.hadoop.conf.Configuration configuration) |
void |
cancelDelegationToken(org.apache.hadoop.conf.Configuration configuration) |
protected org.apache.hadoop.fs.FileSystem |
getRemoteFileSystemForRenewal(org.apache.hadoop.conf.Configuration config) |
protected String |
getRenewingActionName() |
protected int |
getRenewingLimit() |
protected void |
queue(RenewingAction<org.apache.slider.server.services.security.FsDelegationTokenManager.RenewAction> action) |
public FsDelegationTokenManager(QueueAccess queue) throws IOException
IOExceptionpublic void acquireDelegationToken(org.apache.hadoop.conf.Configuration configuration)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void cancelDelegationToken(org.apache.hadoop.conf.Configuration configuration)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionprotected int getRenewingLimit()
protected void queue(RenewingAction<org.apache.slider.server.services.security.FsDelegationTokenManager.RenewAction> action)
protected String getRenewingActionName()
protected org.apache.hadoop.fs.FileSystem getRemoteFileSystemForRenewal(org.apache.hadoop.conf.Configuration config)
throws IOException
IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.