Package org.apache.hadoop.fs
Class FsShell.Usage
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.shell.Command
org.apache.hadoop.fs.shell.FsCommand
org.apache.hadoop.fs.FsShell.Usage
- All Implemented Interfaces:
Configurable
- Enclosing class:
- FsShell
Display help for commands with their short usage and long description.
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.fs.shell.Command
args, COMMAND_DESCRIPTION_FIELD, COMMAND_NAME_FIELD, COMMAND_USAGE_FIELD, err, exceptions, exitCode, name, numErrors, out, recursive -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessRawArguments(LinkedList<String> args) Allows commands that don't use paths to handle the raw arguments.Methods inherited from class org.apache.hadoop.fs.shell.FsCommand
getCommandName, registerCommands, run, runAllMethods inherited from class org.apache.hadoop.fs.shell.Command
displayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getCommandFactory, getDepth, getDescription, getListingGroupSize, getName, getReplacementCommand, getUsage, isDeprecated, isPathRecursable, isRecursive, isSorted, postProcessPath, processArgument, processArguments, processNonexistentPath, processOptions, processPath, processPathArgument, processPaths, processPaths, recursePath, run, run, setCommandFactory, setName, setRecursiveMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Field Details
-
NAME
- See Also:
-
USAGE
- See Also:
-
DESCRIPTION
- See Also:
-
-
Constructor Details
-
Usage
protected Usage()
-
-
Method Details
-
processRawArguments
Description copied from class:CommandAllows commands that don't use paths to handle the raw arguments. Default behavior is to expand the arguments viaCommand.expandArguments(LinkedList)and pass the resulting list toCommand.processArguments(LinkedList)- Overrides:
processRawArgumentsin classFsCommand- Parameters:
args- the list of argument strings
-