@ThreadSafe public class GlusterFSUnderFileSystem extends HdfsUnderFileSystem
HdfsUnderFileSystem that instead uses the Gluster FS.
Currently this implementation simply manages the extra configuration setup necessary to connect to Gluster FS.
UnderFileSystem.SpaceType, UnderFileSystem.UnderFSType| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEME
Constant for the Gluster FS URI scheme.
|
mConfiguration, mProperties, mUri| Constructor and Description |
|---|
GlusterFSUnderFileSystem(AlluxioURI uri,
Configuration configuration,
Object conf)
Constructs a new Gluster FS
UnderFileSystem. |
| Modifier and Type | Method and Description |
|---|---|
UnderFileSystem.UnderFSType |
getUnderFSType() |
protected void |
prepareConfiguration(String path,
Configuration conf,
org.apache.hadoop.conf.Configuration hadoopConf) |
close, connectFromMaster, connectFromWorker, create, create, create, delete, exists, getBlockSizeByte, getConf, getFileLocations, getFileLocations, getFileSize, getModificationTimeMs, getSpace, isFile, list, mkdirs, open, rename, setConf, setOwner, setPermissionconfigureProperties, get, get, getProperties, isHadoopUnderFS, listRecursive, parse, providesStorage, resolveUri, setPropertiespublic static final String SCHEME
public GlusterFSUnderFileSystem(AlluxioURI uri, Configuration configuration, Object conf)
UnderFileSystem.uri - the AlluxioURI for this UFSconfiguration - the configuration for Alluxioconf - the configuration for Hadoop or GlusterFSpublic UnderFileSystem.UnderFSType getUnderFSType()
getUnderFSType in class HdfsUnderFileSystemprotected void prepareConfiguration(String path, Configuration conf, org.apache.hadoop.conf.Configuration hadoopConf)
prepareConfiguration in class HdfsUnderFileSystemCopyright © 2016. All Rights Reserved.