public final class ShowCommand extends AbstractFsAdminCommand
It has two modes: 1. without option "--all", only show configurations for the specific path; 2. with option "--all", show all configurations applicable to the path.
For example, suppose there are two path level configurations: /a: property1=value1 /a/b: property2=value2 Then in mode 1, only property2=value2 will be shown for /a/b, but in mode 2, since /a is the prefix of /a/b, both properties will be shown for /a/b.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL_OPTION_NAME |
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream| Constructor and Description |
|---|
ShowCommand(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) |
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 ALL_OPTION_NAME
public ShowCommand(Context context, AlluxioConfiguration alluxioConf)
context - fsadmin command contextalluxioConf - Alluxio configurationpublic java.lang.String getCommandName()
public org.apache.commons.cli.Options getOptions()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic int run(org.apache.commons.cli.CommandLine cl)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getUsage()
public static java.lang.String description()
public java.lang.String getDescription()
Copyright © 2022. All Rights Reserved.