public static class UnderFileSystem.Factory extends Object
|Modifier and Type||Method and Description|
Creates a client for operations involved with the under file system.
public static UnderFileSystem create(String path, AlluxioConfiguration conf)
UnderFileSysteminstance according to its UFS path. This method should only be used for journal operations and tests.
path- journal path in ufs
conf- the configuration object w/o mount specific options
public static UnderFileSystem create(String path, UnderFileSystemConfiguration ufsConf)
IllegalArgumentExceptionis thrown if there is no under file system for the given path or if no under file system could successfully be created.
ufsConf- configuration object for the UFS
public static UnderFileSystem createForRoot(AlluxioConfiguration conf)
Copyright © 2022. All Rights Reserved.