@ThreadSafe public final class AlluxioFuse extends Object
Modifier and Type | Method and Description |
---|---|
static FuseUmountable |
launchFuse(FileSystemContext fsContext,
FileSystem fs,
AlluxioConfiguration conf,
FuseMountConfig mountConfig,
boolean blocking)
Launches Fuse application.
|
static void |
main(String[] args)
Running this class will mount the file system according to the options passed to this function.
|
static List<String> |
parseFuseOptions(List<String> fuseOptions,
AlluxioConfiguration alluxioConf)
Parses user given fuse options to the format that Fuse application needs.
|
public static void main(String[] args)
args
- arguments to run the command linepublic static FuseUmountable launchFuse(FileSystemContext fsContext, FileSystem fs, AlluxioConfiguration conf, FuseMountConfig mountConfig, boolean blocking) throws IOException
fsContext
- file system context for Fuse client to communicate to serversfs
- file system for Fuse client to communicate to serversconf
- the alluxio configuration to create Fuse file systemmountConfig
- the fuse mount configurationblocking
- whether the Fuse application is blocking or notIOException
public static List<String> parseFuseOptions(List<String> fuseOptions, AlluxioConfiguration alluxioConf)
fuseOptions
- the fuse options to parse fromalluxioConf
- alluxio configurationCopyright © 2023. All Rights Reserved.