public class WorkerStatusCommand extends AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetricsClient, mPrintStream
Constructor and Description |
---|
WorkerStatusCommand(Context context,
AlluxioConfiguration alluxioConf) |
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
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, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgs, validateArgs
public WorkerStatusCommand(Context context, AlluxioConfiguration alluxioConf)
context
- alluxioConf
- public String getCommandName()
Command
public String getUsage()
public String getDescription()
public int run(org.apache.commons.cli.CommandLine cl) throws IOException
Command
cl
- the parsed command line for the argumentsIOException
Copyright © 2023. All Rights Reserved.