@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| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEME
Constant for the Gluster FS URI scheme.
|
LISTING_LENGTH, mProperties, mUri| Constructor and Description |
|---|
GlusterFSUnderFileSystem(AlluxioURI uri,
Object conf)
Constructs a new Gluster FS
UnderFileSystem. |
| Modifier and Type | Method and Description |
|---|---|
String |
getUnderFSType() |
protected void |
prepareConfiguration(String path,
org.apache.hadoop.conf.Configuration hadoopConf) |
close, connectFromMaster, connectFromWorker, create, create, delete, exists, getBlockSizeByte, getConf, getFileLocations, getFileLocations, getFileSize, getGroup, getMode, getModificationTimeMs, getOwner, getSpace, isFile, list, mkdirs, mkdirs, open, rename, setConf, setMode, setOwnerconfigureProperties, get, get, getProperties, isHadoopUnderFS, listRecursive, parse, providesStorage, resolveUri, setProperties, supportsFlushpublic static final String SCHEME
public GlusterFSUnderFileSystem(AlluxioURI uri, Object conf)
UnderFileSystem.uri - the AlluxioURI for this UFSconf - the configuration for Hadoop or GlusterFSpublic String getUnderFSType()
getUnderFSType in class HdfsUnderFileSystemprotected void prepareConfiguration(String path, org.apache.hadoop.conf.Configuration hadoopConf)
prepareConfiguration in class HdfsUnderFileSystemCopyright © 2016. All Rights Reserved.