public class QuorumCommand extends AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream
Constructor and Description |
---|
QuorumCommand(Context context,
AlluxioConfiguration alluxioConf) |
Modifier and Type | Method and Description |
---|---|
static String |
description() |
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
Map<String,Command> |
getSubCommands() |
String |
getUsage() |
boolean |
hasSubCommand()
If a command has sub-commands, the first argument should be the sub-command's name,
all arguments and options will be parsed for the sub-command.
|
static NetAddress |
stringToAddress(String serverAddress) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getOptions, parseAndValidateArgs, run, validateArgs
public QuorumCommand(Context context, AlluxioConfiguration alluxioConf)
context
- fsadmin command contextalluxioConf
- Alluxio configurationpublic static String description()
public boolean hasSubCommand()
Command
public Map<String,Command> getSubCommands()
public String getCommandName()
Command
public String getUsage()
public String getDescription()
public static NetAddress stringToAddress(String serverAddress) throws InvalidArgumentException
serverAddress
- the string containing the hostname and port separated by a ':InvalidArgumentException
Copyright © 2023. All Rights Reserved.