public class KeyShell extends CommandShell
CommandShell.SubCommand
Modifier and Type | Field and Description |
---|---|
static String |
NO_VALID_PROVIDERS |
Constructor and Description |
---|
KeyShell() |
Modifier and Type | Method and Description |
---|---|
String |
getCommandUsage()
Return usage string for the command including any summary of subcommands.
|
protected int |
init(String[] args)
Parse the command line arguments and initialize the data.
|
static void |
main(String[] args)
main() entry point for the KeyShell.
|
getErr, getOut, printShellUsage, run, setErr, setOut, setSubCommand
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public static final String NO_VALID_PROVIDERS
protected int init(String[] args) throws IOException
% hadoop key create keyName [-size size] [-cipher algorithm] [-provider providerPath] % hadoop key roll keyName [-provider providerPath] % hadoop key list [-provider providerPath] % hadoop key delete keyName [-provider providerPath] [-i] % hadoop key invalidateCache keyName [-provider providerPath]
init
in class CommandShell
args
- Command line arguments.IOException
public String getCommandUsage()
CommandShell
getCommandUsage
in class CommandShell
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.