public class EnableWorkerCommand extends AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetricsClient, mPrintStream
Constructor and Description |
---|
EnableWorkerCommand(Context context,
AlluxioConfiguration alluxioConf) |
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl)
Runs the command.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getSubCommands, hasSubCommand, parseAndValidateArgs, validateArgs
public EnableWorkerCommand(Context context, AlluxioConfiguration alluxioConf)
context
- fsadmin command contextalluxioConf
- Alluxio configurationpublic int run(org.apache.commons.cli.CommandLine cl) throws AlluxioException, IOException
Command
cl
- the parsed command line for the argumentsAlluxioException
IOException
public String getCommandName()
Command
public org.apache.commons.cli.Options getOptions()
Options
of the commandpublic String getUsage()
public String getDescription()
Copyright © 2023. All Rights Reserved.