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
|
mTachyonConf
Constructor and Description |
---|
GlusterFSUnderFileSystem(String fsDefaultName,
TachyonConf tachyonConf,
Object conf) |
Modifier and Type | Method and Description |
---|---|
UnderFileSystem.UnderFSType |
getUnderFSType() |
protected void |
prepareConfiguration(String path,
TachyonConf tachyonConf,
org.apache.hadoop.conf.Configuration config) |
close, connectFromMaster, connectFromWorker, create, create, create, delete, exists, getBlockSizeByte, getConf, getFileLocations, getFileLocations, getFileSize, getModificationTimeMs, getSpace, isFile, list, mkdirs, open, rename, setConf, setPermission
get, get, isHadoopUnderFS, parse, providesStorage
public static final String SCHEME
public GlusterFSUnderFileSystem(String fsDefaultName, TachyonConf tachyonConf, Object conf)
public UnderFileSystem.UnderFSType getUnderFSType()
getUnderFSType
in class HdfsUnderFileSystem
protected void prepareConfiguration(String path, TachyonConf tachyonConf, org.apache.hadoop.conf.Configuration config)
prepareConfiguration
in class HdfsUnderFileSystem
Copyright © 2015. All Rights Reserved.