@Private
public class DelegationTokenFetcher
extends java.lang.Object
| Constructor | Description |
|---|---|
DelegationTokenFetcher() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
Command-line interface.
|
static void |
main(org.apache.hadoop.conf.Configuration conf,
java.lang.String[] args) |
Command line interface with a specific configuration.
|
static java.lang.String |
printTokensToString(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path tokenFile,
boolean verbose) |
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - argument list.java.lang.Exception - on a failure.org.apache.hadoop.util.ExitUtil.ExitException - if the command
failed and exiting was disabled.@VisibleForTesting
public static void main(org.apache.hadoop.conf.Configuration conf,
java.lang.String[] args)
throws java.lang.Exception
ExitUtil.terminate(int) to
exit the process.conf - configuration to create filesystems with.args - argument list.java.lang.Exception - on a failure.org.apache.hadoop.util.ExitUtil.ExitException - if the command
failed and exiting was disabled.@VisibleForTesting
public static java.lang.String printTokensToString(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path tokenFile,
boolean verbose)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.