@InterfaceAudience.Private
@InterfaceStability.Evolving
public abstract class WowFsCommand
extends org.apache.hadoop.fs.shell.Command
| Constructor and Description |
|---|
WowFsCommand(org.apache.hadoop.conf.Configuration conf,
String basePath,
PrintStream out,
PrintStream error) |
| Modifier and Type | Method and Description |
|---|---|
String |
cleanPath(String path) |
String |
getCommandName() |
void |
redefineBaseDir(LinkedList<String> args) |
static void |
registerCommands(org.apache.hadoop.fs.shell.CommandFactory factory)
Register the command classes used by the fs subcommand
|
protected void |
run(org.apache.hadoop.fs.Path path) |
int |
runAll()
Deprecated.
use
Command#run(String...argv) |
displayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getDepth, getDescription, getName, getReplacementCommand, getUsage, isDeprecated, isRecursive, postProcessPath, processArgument, processArguments, processNonexistentPath, processOptions, processPath, processPathArgument, processPaths, processRawArguments, recursePath, run, setName, setRecursiveprotected String basePath
public WowFsCommand(org.apache.hadoop.conf.Configuration conf,
String basePath,
PrintStream out,
PrintStream error)
public static void registerCommands(org.apache.hadoop.fs.shell.CommandFactory factory)
factory - where to register the classpublic String getCommandName()
getCommandName in class org.apache.hadoop.fs.shell.Commandprotected void run(org.apache.hadoop.fs.Path path)
throws IOException
run in class org.apache.hadoop.fs.shell.CommandIOExceptionpublic void redefineBaseDir(LinkedList<String> args)
@Deprecated public int runAll()
Command#run(String...argv)runAll in class org.apache.hadoop.fs.shell.CommandCopyright © 2021. All rights reserved.