@PublicApi public final class DoctorCommand extends AbstractFsAdminCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HELP_OPTION_NAME |
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream| Constructor and Description |
|---|
DoctorCommand(Context context,
AlluxioConfiguration alluxioConf) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
description() |
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl) |
static java.lang.String |
usage() |
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getSubCommands, hasSubCommand, parseAndValidateArgspublic static final java.lang.String HELP_OPTION_NAME
public DoctorCommand(Context context, AlluxioConfiguration alluxioConf)
context - fsadmin command contextalluxioConf - Alluxio configurationpublic java.lang.String getCommandName()
public int run(org.apache.commons.cli.CommandLine cl)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getUsage()
public static java.lang.String usage()
public java.lang.String getDescription()
public static java.lang.String description()
public org.apache.commons.cli.Options getOptions()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionCopyright © 2022. All Rights Reserved.