public static interface FileSystemMasterClientService.Iface extends AlluxioService.Iface
Modifier and Type | Method and Description |
---|---|
CheckConsistencyTResponse |
checkConsistency(String path,
CheckConsistencyTOptions options)
Checks the consistency of the files and directores with the path as the root of the subtree
|
CompleteFileTResponse |
completeFile(String path,
CompleteFileTOptions options)
Marks a file as completed.
|
CreateDirectoryTResponse |
createDirectory(String path,
CreateDirectoryTOptions options)
Creates a directory.
|
CreateFileTResponse |
createFile(String path,
CreateFileTOptions options)
Creates a file.
|
FreeTResponse |
free(String path,
boolean recursive,
FreeTOptions options)
Frees the given file or directory from Alluxio.
|
GetFilePathTResponse |
getFilePath(GetFilePathTOptions options)
Returns the file path of a file id.
|
GetMountTableTResponse |
getMountTable()
Returns a map from each Alluxio path to information of corresponding mount point
|
GetNewBlockIdForFileTResponse |
getNewBlockIdForFile(String path,
GetNewBlockIdForFileTOptions options)
Generates a new block id for the given file.
|
GetStatusTResponse |
getStatus(String path,
GetStatusTOptions options)
Returns the status of the file or directory.
|
ListStatusTResponse |
listStatus(String path,
ListStatusTOptions options)
If the path points to a file, the method returns a singleton with its file information.
|
LoadMetadataTResponse |
loadMetadata(String ufsPath,
boolean recursive,
LoadMetadataTOptions options)
Loads metadata for the object identified by the given Alluxio path from UFS into Alluxio.
|
MountTResponse |
mount(String alluxioPath,
String ufsPath,
MountTOptions options)
Creates a new "mount point", mounts the given UFS path in the Alluxio namespace at the given
path.
|
DeleteTResponse |
remove(String path,
boolean recursive,
DeleteTOptions options)
Deletes a file or a directory and returns whether the remove operation succeeded.
|
RenameTResponse |
rename(String path,
String dstPath,
RenameTOptions options)
Renames a file or a directory.
|
ScheduleAsyncPersistenceTResponse |
scheduleAsyncPersistence(String path,
ScheduleAsyncPersistenceTOptions options)
Schedules async persistence.
|
SetAttributeTResponse |
setAttribute(String path,
SetAttributeTOptions options)
Sets file or directory attributes.
|
UnmountTResponse |
unmount(String alluxioPath,
UnmountTOptions options)
Deletes an existing "mount point", voiding the Alluxio namespace at the given path.
|
UpdateUfsModeTResponse |
updateUfsMode(String ufsPath,
UpdateUfsModeTOptions options)
Updates the ufs mode for a ufs path under one or more mount points.
|
getServiceVersion
CheckConsistencyTResponse checkConsistency(String path, CheckConsistencyTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the root of the subtree to checkoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
CompleteFileTResponse completeFile(String path, CompleteFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the fileoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
CreateDirectoryTResponse createDirectory(String path, CreateDirectoryTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the directoryoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
CreateFileTResponse createFile(String path, CreateFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the fileoptions
- the options for creating the fileAlluxioTException
org.apache.thrift.TException
FreeTResponse free(String path, boolean recursive, FreeTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the file or directoryrecursive
- whether to free recursivelyoptions
- the options for freeing a pathAlluxioTException
org.apache.thrift.TException
GetMountTableTResponse getMountTable() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
GetNewBlockIdForFileTResponse getNewBlockIdForFile(String path, GetNewBlockIdForFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the fileoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
GetFilePathTResponse getFilePath(GetFilePathTOptions options) throws AlluxioTException, org.apache.thrift.TException
options
- the file idAlluxioTException
org.apache.thrift.TException
GetStatusTResponse getStatus(String path, GetStatusTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the file or directoryoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
ListStatusTResponse listStatus(String path, ListStatusTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the file or directoryoptions
- listStatus optionsAlluxioTException
org.apache.thrift.TException
LoadMetadataTResponse loadMetadata(String ufsPath, boolean recursive, LoadMetadataTOptions options) throws AlluxioTException, org.apache.thrift.TException
ufsPath
- the path of the under file systemrecursive
- whether to load metadata recursivelyoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
MountTResponse mount(String alluxioPath, String ufsPath, MountTOptions options) throws AlluxioTException, org.apache.thrift.TException
alluxioPath
- the path of alluxio mount pointufsPath
- the path of the under file systemoptions
- the options for creating the mount pointAlluxioTException
org.apache.thrift.TException
DeleteTResponse remove(String path, boolean recursive, DeleteTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the file or directoryrecursive
- whether to remove recursivelyoptions
- the options for deleting the fileAlluxioTException
org.apache.thrift.TException
RenameTResponse rename(String path, String dstPath, RenameTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the source path of the file or directorydstPath
- the desination path of the fileoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
ScheduleAsyncPersistenceTResponse scheduleAsyncPersistence(String path, ScheduleAsyncPersistenceTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the fileoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
SetAttributeTResponse setAttribute(String path, SetAttributeTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the file or directoryoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
UnmountTResponse unmount(String alluxioPath, UnmountTOptions options) throws AlluxioTException, org.apache.thrift.TException
alluxioPath
- the path of the alluxio mount pointoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
UpdateUfsModeTResponse updateUfsMode(String ufsPath, UpdateUfsModeTOptions options) throws AlluxioTException, org.apache.thrift.TException
ufsPath
- the ufs pathoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.