org.apache.hadoop.hdfs.tools
Class DelegationTokenFetcher
java.lang.Object
org.apache.hadoop.hdfs.tools.DelegationTokenFetcher
@InterfaceAudience.Private
public class DelegationTokenFetcher
- extends Object
Fetch a DelegationToken from the current Namenode and store it in the
specified file.
Method Summary |
void |
go()
|
static void |
main(String[] args)
Command-line interface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegationTokenFetcher
public DelegationTokenFetcher(DistributedFileSystem dfs,
DataOutputStream out,
org.apache.hadoop.security.UserGroupInformation ugi)
main
public static void main(String[] args)
throws Exception
- Command-line interface
- Throws:
Exception
go
public void go()
throws IOException
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation