Package alluxio.cli.fsadmin.command
Class UfsCommand
- java.lang.Object
-
- alluxio.cli.fsadmin.command.AbstractFsAdminCommand
-
- alluxio.cli.fsadmin.command.UfsCommand
-
- All Implemented Interfaces:
alluxio.cli.Command,java.io.Closeable,java.lang.AutoCloseable
@ThreadSafe @PublicApi public final class UfsCommand extends AbstractFsAdminCommand
Update attributes for an existing mount point.
-
-
Field Summary
-
Fields inherited from class alluxio.cli.fsadmin.command.AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream
-
-
Constructor Summary
Constructors Constructor Description UfsCommand(Context context, alluxio.conf.AlluxioConfiguration alluxioConf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandName()java.lang.StringgetDescription()org.apache.commons.cli.OptionsgetOptions()java.lang.StringgetUsage()intrun(org.apache.commons.cli.CommandLine cl)voidvalidateArgs(org.apache.commons.cli.CommandLine cl)
-
-
-
Constructor Detail
-
UfsCommand
public UfsCommand(Context context, alluxio.conf.AlluxioConfiguration alluxioConf)
- Parameters:
context- fsadmin command contextalluxioConf- Alluxio configuration
-
-
Method Detail
-
getCommandName
public java.lang.String getCommandName()
-
validateArgs
public void validateArgs(org.apache.commons.cli.CommandLine cl) throws alluxio.exception.status.InvalidArgumentException- Throws:
alluxio.exception.status.InvalidArgumentException
-
getOptions
public org.apache.commons.cli.Options getOptions()
-
run
public int run(org.apache.commons.cli.CommandLine cl) throws alluxio.exception.AlluxioException, java.io.IOException- Throws:
alluxio.exception.AlluxioExceptionjava.io.IOException
-
getUsage
public java.lang.String getUsage()
-
getDescription
public java.lang.String getDescription()
-
-