Modifier and Type | Method and Description |
---|---|
Collection<Command> |
AbstractShell.getCommands() |
default Map<String,Command> |
Command.getSubCommands() |
protected abstract Map<String,Command> |
AbstractShell.loadCommands()
Map structure: Command name =>
Command instance. |
static Map<String,Command> |
CommandUtils.loadCommands(String pkgName,
Class[] classArgs,
Object[] objectArgs)
Get instances of all subclasses of
Command in a sub-package called "command" the given
package. |
Modifier and Type | Method and Description |
---|---|
static void |
CommandUtils.checkNumOfArgsEquals(Command cmd,
org.apache.commons.cli.CommandLine cl,
int n)
Checks the number of non-option arguments equals n for command.
|
static void |
CommandUtils.checkNumOfArgsNoLessThan(Command cmd,
org.apache.commons.cli.CommandLine cl,
int n)
Checks the number of non-option arguments is no less than n for command.
|
static void |
CommandUtils.checkNumOfArgsNoMoreThan(Command cmd,
org.apache.commons.cli.CommandLine cl,
int n)
Checks the number of non-option arguments is no more than n for command.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Command> |
CollectInfo.loadCommands() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCollectInfoCommand
Abstraction of a command under CollectInfo.
|
class |
CollectAlluxioInfoCommand
Command to run a set of Alluxio commands.
|
class |
CollectConfigCommand
Command to collect Alluxio config files.
|
class |
CollectEnvCommand
Command to run a set of bash commands to get system information.
|
class |
CollectJvmInfoCommand
Command that collects information about the JVMs.
|
class |
CollectLogCommand
Command to collect Alluxio logs.
|
class |
CollectMetricsCommand
Command to probe Alluxio metrics for a few times.
|
class |
ExecuteShellCollectInfoCommand
Command to run a set of shell commands to get system information.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Command> |
ExtensionsShell.loadCommands() |
Modifier and Type | Class and Description |
---|---|
class |
InstallCommand
Install a new extension.
|
class |
UninstallCommand
Uninstall an extension.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Command> |
FileSystemShell.loadCommands() |
static Map<String,Command> |
FileSystemShellUtils.loadCommands(FileSystemContext fsContext)
Gets all
Command instances in the same package as FileSystemShell and load them
into a map. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileSystemCommand
The base class for all the FileSystem
Command classes. |
class |
CatCommand
Prints the file's contents to the console.
|
class |
CheckConsistencyCommand
Command for checking the consistency of a file or folder between Alluxio and the under storage.
|
class |
ChecksumCommand
Calculates the MD5 checksum for a file.
|
class |
ChgrpCommand
Changes the group of a file or directory specified by args.
|
class |
ChmodCommand
Changes the permission of a file or directory specified by args.
|
class |
ChownCommand
Changes the owner of a file or directory specified by args.
|
class |
CopyFromLocalCommand
Copies the specified file specified by "source path" to the path specified by "remote path".
|
class |
CopyToLocalCommand
Copies a file or a directory from the Alluxio filesystem to the local filesystem.
|
class |
CountCommand
Displays the number of folders and files matching the specified prefix in args.
|
class |
CpCommand
Copies a file or a directory in the Alluxio filesystem.
|
class |
DistributedCpCommand
Copies a file or directory specified by args.
|
class |
DistributedLoadCommand
Loads a file or directory in Alluxio space, makes it resident in memory.
|
class |
DistributedMvCommand
Moves a file or directory specified by args.
|
class |
DuCommand
Displays the size of a file or a directory specified by argv.
|
class |
FreeCommand
Frees the given file or folder from Alluxio storage (recursively freeing all children if a
folder).
|
class |
GetCapacityBytesCommand
Gets the capacity of the
FileSystem . |
class |
GetFaclCommand
Displays ACL info of a path.
|
class |
GetSyncPathListCommand
This class represents a getSyncPathList Command.
|
class |
GetUsedBytesCommand
Gets number of bytes used in the
FileSystem . |
class |
HeadCommand
Prints the file's first n bytes (by default, 1KB) to the console.
|
class |
HelpCommand
Command for print help message for the given command.
|
class |
LeaderCommand
Prints the current leader master host name.
|
class |
LoadCommand
Loads a file or directory in Alluxio space, making it resident in Alluxio.
|
class |
LocationCommand
Displays a list of hosts that have the file specified in args stored.
|
class |
LsCommand
Displays information for the path specified in args.
|
class |
MasterInfoCommand
Prints information regarding master fault tolerance such as leader address, list of master
addresses, and the configured Zookeeper address.
|
class |
MkdirCommand
Creates a new directory specified by the path in args, including any parent folders that are
required.
|
class |
MountCommand
Mounts a UFS path onto an Alluxio path.
|
class |
MvCommand
Renames a file or directory specified by args.
|
class |
PersistCommand
Persists files or directories currently stored only in Alluxio to the UnderFileSystem.
|
class |
PinCommand
Pins the given file or folder (recursively pinning all children if a folder).
|
class |
RmCommand
Removes the file specified by argv.
|
class |
SetFaclCommand
Displays ACL info of a path.
|
class |
SetReplicationCommand
Changes the replication level of a file or directory specified by args.
|
class |
SetTtlCommand
Sets a new TTL value for the file at path both of the TTL value and the path are specified by
args.
|
class |
StartSyncCommand
Start a polling sync of a particular path.
|
class |
StatCommand
Displays the path's info.
|
class |
StopSyncCommand
This class represents a stop sync command.
|
class |
TailCommand
Prints the file's last n bytes (by default, 1KB) to the console.
|
class |
TestCommand
Tests properties of the path specified in args.
|
class |
TouchCommand
Creates a 0 byte file specified by argv.
|
class |
UnmountCommand
Unmounts an Alluxio path.
|
class |
UnpinCommand
Unpins the given file or folder (recursively unpinning all children if a folder).
|
class |
UnsetTtlCommand
Unsets the TTL value for the given path.
|
class |
UpdateMountCommand
Update options for an Alluxio mount point.
|
Modifier and Type | Method and Description |
---|---|
static void |
HelpCommand.printCommandInfo(Command command,
PrintWriter pw)
Prints the info about a command to the given print writer.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Command> |
FileSystemAdminShell.loadCommands() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFsAdminCommand
Base class for fsadmin commands.
|
class |
BackupCommand
Command for backing up Alluxio master metadata.
|
class |
DoctorCommand
Shows errors or warnings that users should pay attention to.
|
class |
GetBlockInfoCommand
Command for getting information from a block id.
|
class |
JournalCommand
Command for seeing/managing quorum state of embedded journal.
|
class |
MetricsCommand
Command for managing Alluxio metric system.
|
class |
PathConfCommand
Manages path level configuration.
|
class |
ReportCommand
Reports Alluxio running cluster information.
|
class |
StateLockHoldersCommand
CI Command to get state lock holder thread identifiers.
|
class |
UfsCommand
Update attributes for an existing mount point.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Command> |
MetricsCommand.getSubCommands() |
Map<String,Command> |
JournalCommand.getSubCommands() |
Map<String,Command> |
PathConfCommand.getSubCommands() |
Modifier and Type | Class and Description |
---|---|
class |
CheckpointCommand
Command for triggering a checkpoint in the primary master journal system.
|
class |
QuorumCommand
Command for seeing/managing quorum state of embedded journal.
|
class |
QuorumInfoCommand
Command for querying journal quorum information.
|
class |
QuorumRemoveCommand
Command for removing a server from journal quorum.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Command> |
QuorumCommand.getSubCommands() |
Modifier and Type | Class and Description |
---|---|
class |
ClearCommand
Clear the leading master (and workers) metrics.
|
Modifier and Type | Class and Description |
---|---|
class |
AddCommand
Adds path level configurations.
|
class |
ListCommand
Lists paths that have path level configuration.
|
class |
RemoveCommand
Removes path level configurations.
|
class |
ShowCommand
Show path level configurations.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Command> |
JobShell.loadCommands() |
Modifier and Type | Class and Description |
---|---|
class |
CancelCommand
Cancels a job asynchronously.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Command> |
TableShell.loadCommands() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTableCommand
A class which should be extended when implementing commands for the
TableShell . |
class |
AttachDatabaseCommand
A command which can be used to attach a UDB to the Alluxio master's table service.
|
class |
DetachDatabaseCommand
This command removes a database from the table master.
|
class |
ListDatabasesCommand
List information about attached databases and tables in the Alluxio catalog.
|
class |
SyncDatabaseCommand
A command which can be used to sync a database with the underlying udb.
|
class |
TransformStatusCommand
Check transformation status.
|
class |
TransformTableCommand
Transforms a structured table in Alluxio.
|
Copyright © 2023. All Rights Reserved.