Package org.apache.hadoop.fs.shell
Class Concat
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.shell.Command
org.apache.hadoop.fs.shell.FsCommand
org.apache.hadoop.fs.shell.Concat
- All Implemented Interfaces:
Configurable
Concat the given files.
-
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 voidprocessArguments(LinkedList<PathData> args) Processes the command's list of expanded arguments.static voidregisterCommands(CommandFactory factory) Methods inherited from class org.apache.hadoop.fs.shell.FsCommand
getCommandName, processRawArguments, 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, 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
-
Concat
public Concat()
-
-
Method Details
-
registerCommands
-
processArguments
Description copied from class:CommandProcesses the command's list of expanded arguments.Command.processArgument(PathData)will be invoked with each item in the list. The loop catches IOExceptions, increments the error count, and displays the exception.- Overrides:
processArgumentsin classCommand- Parameters:
args- a list ofPathDatato process- Throws:
IOException- if anything goes wrong...
-