Search in sources :

Example 1 with AlluxioFuseFileSystem

use of alluxio.fuse.AlluxioFuseFileSystem in project alluxio by Alluxio.

the class JNRFuseIntegrationTest method mountFuse.

@Override
public void mountFuse(FileSystem fileSystem, String mountPoint, String alluxioRoot) {
    FuseMountOptions options = new FuseMountOptions(mountPoint, alluxioRoot, false, new ArrayList<>());
    mFuseFileSystem = new AlluxioFuseFileSystem(fileSystem, options, ServerConfiguration.global());
    mFuseFileSystem.mount(Paths.get(mountPoint), false, false, new String[] { "-odirect_io" });
}
Also used : FuseMountOptions(alluxio.fuse.FuseMountOptions) AlluxioFuseFileSystem(alluxio.fuse.AlluxioFuseFileSystem)

Aggregations

AlluxioFuseFileSystem (alluxio.fuse.AlluxioFuseFileSystem)1 FuseMountOptions (alluxio.fuse.FuseMountOptions)1