@ThreadSafe
public final class AlluxioFuse
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static FuseUmountable |
launchFuse(FileSystem fs,
AlluxioConfiguration conf,
FuseMountOptions opts,
boolean blocking)
Launches Fuse application.
|
static void |
main(java.lang.String[] args)
Running this class will mount the file system according to the options passed to this function
parseOptions(String[], AlluxioConfiguration). |
static java.util.List<java.lang.String> |
parseFuseOptions(java.lang.String[] fuseOptions,
AlluxioConfiguration alluxioConf)
Parses user given fuse options to the format that Fuse application needs.
|
public static void main(java.lang.String[] args)
parseOptions(String[], AlluxioConfiguration). The user-space fuse application will
stay on the foreground and keep the file system mounted. The user can unmount the file system
by gracefully killing (SIGINT) the process.args - arguments to run the command linepublic static FuseUmountable launchFuse(FileSystem fs, AlluxioConfiguration conf, FuseMountOptions opts, boolean blocking) throws java.io.IOException
fs - file system for Fuse client to communicate to serversconf - the alluxio configuration to create Fuse file systemopts - the fuse mount optionsblocking - whether the Fuse application is blocking or notjava.io.IOExceptionpublic static java.util.List<java.lang.String> parseFuseOptions(java.lang.String[] fuseOptions,
AlluxioConfiguration alluxioConf)
fuseOptions - the fuse options to parse fromalluxioConf - alluxio configurationCopyright © 2021. All Rights Reserved.