Package | Description |
---|---|
alluxio.cli | |
alluxio.cli.extensions | |
alluxio.cli.extensions.command | |
alluxio.cli.fs | |
alluxio.cli.fs.command | |
alluxio.cli.fsadmin | |
alluxio.cli.fsadmin.command |
Modifier and Type | Method and Description |
---|---|
Collection<Command> |
AbstractShell.getCommands() |
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 |
---|---|
static Map<String,Command> |
ExtensionsShellUtils.loadCommands()
Gets all
Command instances in the same package as ExtensionsShell and loads
them into a map. |
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(FileSystem fileSystem)
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 |
CreateLineageCommand
Creates a lineage for the given input files, output files, and command line job.
|
class |
DeleteLineageCommand
Deletes a lineage by its id.
|
class |
DuCommand
Displays the size of a file or a directory specified by argv.
|
class |
FileInfoCommand
Deprecated.
since version 1.5
|
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 |
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 |
ListLineagesCommand
Lists all the lineages.
|
class |
LoadCommand
Loads a file or directory in Alluxio space, making it resident in Alluxio.
|
class |
LoadMetadataCommand
Deprecated.
since version 1.1
|
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 |
ReportCommand
Reports to the master that a file is lost.
|
class |
RmCommand
Removes the file specified by argv.
|
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 |
StatCommand
Displays the path's info.
|
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.
|
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 |
UfsCommand
Update attributes for an existing mount point.
|
Copyright © 2023. All Rights Reserved.