Package | Description |
---|---|
alluxio.cli.fs | |
alluxio.cli.fs.command | |
alluxio.client.file | |
alluxio.client.lineage | |
alluxio.hadoop | |
alluxio.master | |
alluxio.multi.process | |
alluxio.worker.file |
Modifier and Type | Method and Description |
---|---|
static List<AlluxioURI> |
FileSystemShellUtils.getAlluxioURIs(FileSystem alluxioClient,
AlluxioURI inputURI)
Gets all the
AlluxioURI s that match inputURI. |
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 | Field and Description |
---|---|
protected FileSystem |
AbstractFileSystemCommand.mFileSystem |
Modifier and Type | Method and Description |
---|---|
static void |
FileSystemCommandUtils.setPinned(FileSystem fs,
AlluxioURI path,
boolean pinned)
Sets pin state for the input path.
|
static void |
FileSystemCommandUtils.setTtl(FileSystem fs,
AlluxioURI path,
long ttlMs,
TtlAction ttlAction)
Sets a new TTL value or unsets an existing TTL value for file at path.
|
Constructor and Description |
---|
AbstractFileSystemCommand(FileSystem fs) |
CatCommand(FileSystem fs) |
CheckConsistencyCommand(FileSystem fs) |
ChecksumCommand(FileSystem fs) |
ChgrpCommand(FileSystem fs)
Creates a new instance of
ChgrpCommand . |
ChmodCommand(FileSystem fs)
Creates a new instance of
ChmodCommand . |
ChownCommand(FileSystem fs)
Creates a new instance of
ChownCommand . |
CopyFromLocalCommand(FileSystem fs) |
CopyToLocalCommand(FileSystem fs) |
CountCommand(FileSystem fs) |
CpCommand(FileSystem fs) |
CreateLineageCommand(FileSystem fs) |
DeleteLineageCommand(FileSystem fs) |
DuCommand(FileSystem fs) |
FileInfoCommand(FileSystem fs)
Deprecated.
|
FreeCommand(FileSystem fs)
Constructs a new instance to free the given file or folder from Alluxio.
|
GetCapacityBytesCommand(FileSystem fs)
Constructs a new instance to get the capacity of the
FileSystem . |
GetUsedBytesCommand(FileSystem fs)
Constructs a new instance to get the number of bytes used in the
FileSystem . |
HeadCommand(FileSystem fs) |
HelpCommand(FileSystem fs) |
LeaderCommand(FileSystem fs) |
ListLineagesCommand(FileSystem fs)
Constructs a new instance to list all the lineages.
|
LoadCommand(FileSystem fs)
Constructs a new instance to load a file or directory in Alluxio space.
|
LoadMetadataCommand(FileSystem fs)
Deprecated.
Constructs a new instance to load metadata for the given Alluxio path from UFS.
|
LocationCommand(FileSystem fs)
Constructs a new instance to display a list of hosts that have the file specified in args
stored.
|
LsCommand(FileSystem fs)
Constructs a new instance to display information for all directories and files directly under
the path specified in args.
|
MasterInfoCommand(FileSystem fs) |
MkdirCommand(FileSystem fs)
Constructs a new instance to create a new directory.
|
MountCommand(FileSystem fs) |
MvCommand(FileSystem fs) |
PersistCommand(FileSystem fs) |
PinCommand(FileSystem fs) |
ReportCommand(FileSystem fs) |
RmCommand(FileSystem fs) |
SetTtlCommand(FileSystem fs) |
StatCommand(FileSystem fs) |
TailCommand(FileSystem fs) |
TestCommand(FileSystem fs) |
TouchCommand(FileSystem fs) |
UnmountCommand(FileSystem fs) |
UnpinCommand(FileSystem fs) |
UnsetTtlCommand(FileSystem fs) |
Modifier and Type | Class and Description |
---|---|
class |
BaseFileSystem
Default implementation of the
FileSystem interface. |
Modifier and Type | Method and Description |
---|---|
static FileSystem |
FileSystem.Factory.get() |
static FileSystem |
FileSystem.Factory.get(FileSystemContext context) |
Modifier and Type | Method and Description |
---|---|
static void |
FileSystemUtils.persistFile(FileSystem fs,
AlluxioURI uri)
Persists the given file to the under file system.
|
static boolean |
FileSystemUtils.waitCompleted(FileSystem fs,
AlluxioURI uri)
Shortcut for
waitCompleted(fs, uri, -1, TimeUnit.MILLISECONDS) , i.e., wait for an
indefinite amount of time. |
static boolean |
FileSystemUtils.waitCompleted(FileSystem fs,
AlluxioURI uri,
long timeout,
TimeUnit tunit)
Waits for a file to be marked as completed.
|
Modifier and Type | Class and Description |
---|---|
class |
LineageFileSystem
Alluxio lineage file system client.
|
Constructor and Description |
---|
FaultTolerantFileSystem(FileSystem fileSystem)
Deprecated.
Constructs a new
FaultTolerantFileSystem instance with a specified
FileSystem handler for tests. |
FileSystem(FileSystem fileSystem)
Constructs a new
FileSystem instance with a
specified FileSystem handler for tests. |
Modifier and Type | Method and Description |
---|---|
FileSystem |
LocalAlluxioCluster.getClient() |
FileSystem |
MultiMasterLocalAlluxioCluster.getClient() |
abstract FileSystem |
AbstractLocalAlluxioCluster.getClient()
Returns a
FileSystem client. |
FileSystem |
ClientPool.getClient()
Returns a
FileSystem client. |
FileSystem |
LocalAlluxioMaster.getClient() |
FileSystem |
LocalAlluxioCluster.getClient(FileSystemContext context) |
FileSystem |
MultiMasterLocalAlluxioCluster.getClient(FileSystemContext context) |
abstract FileSystem |
AbstractLocalAlluxioCluster.getClient(FileSystemContext context) |
FileSystem |
ClientPool.getClient(FileSystemContext context)
Returns a
FileSystem client using a specific context. |
FileSystem |
LocalAlluxioMaster.getClient(FileSystemContext context) |
Modifier and Type | Method and Description |
---|---|
FileSystem |
MultiProcessCluster.getFileSystemClient() |
Modifier and Type | Method and Description |
---|---|
static void |
UnderFileSystemUtils.prepareFilePath(AlluxioURI alluxioPath,
String ufsPath,
FileSystem fs,
UnderFileSystem ufs)
Creates parent directories for path with correct permissions if required.
|
Copyright © 2023. All Rights Reserved.