public class GlusterFileSystem
extends org.apache.hadoop.fs.FilterFileSystem
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
GlusterFileSystem() |
GlusterFileSystem(org.apache.hadoop.fs.FileSystem rawLocalFileSystem) |
Modifier and Type | Method and Description |
---|---|
void |
copyFromLocalFile(boolean delSrc,
org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
copyToLocalFile(boolean delSrc,
org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
boolean |
exists(org.apache.hadoop.fs.Path f)
Get file status.
|
org.apache.hadoop.fs.FileSystem |
getRaw() |
void |
initialize(URI name,
org.apache.hadoop.conf.Configuration conf) |
File |
pathToFile(org.apache.hadoop.fs.Path path)
Convert a path to a File.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
String |
toString() |
append, checkPath, close, completeLocalOutput, concat, copyFromLocalFile, copyFromLocalFile, create, createNonRecursive, delete, getCanonicalUri, getChildFileSystems, getConf, getContentSummary, getDefaultBlockSize, getDefaultBlockSize, getDefaultReplication, getDefaultReplication, getFileBlockLocations, getFileChecksum, getFileStatus, getHomeDirectory, getInitialWorkingDirectory, getRawFileSystem, getServerDefaults, getServerDefaults, getStatus, getUri, getUsed, getWorkingDirectory, listCorruptFileBlocks, listLocatedStatus, listStatus, makeQualified, mkdirs, open, primitiveCreate, primitiveMkdir, rename, resolvePath, setOwner, setPermission, setReplication, setTimes, setVerifyChecksum, setWorkingDirectory, setWriteChecksum, startLocalOutput
addDelegationTokens, append, append, cancelDeleteOnExit, clearStatistics, closeAll, closeAllForUGI, copyFromLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, create, create, createNewFile, createNonRecursive, createNonRecursive, delete, deleteOnExit, get, get, get, getAllStatistics, getBlockSize, getCanonicalServiceName, getDefaultPort, getDefaultUri, getDelegationToken, getFileBlockLocations, getFileSystemClass, getLength, getLocal, getName, getNamed, getReplication, getScheme, getStatistics, getStatistics, getStatus, globStatus, globStatus, isDirectory, isFile, listFiles, listLocatedStatus, listStatus, listStatus, listStatus, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, newInstance, newInstance, newInstance, newInstanceLocal, open, primitiveMkdir, printStatistics, processDeleteOnExit, rename, setDefaultUri, setDefaultUri
public GlusterFileSystem()
public GlusterFileSystem(org.apache.hadoop.fs.FileSystem rawLocalFileSystem)
public org.apache.hadoop.fs.FileSystem getRaw()
public void initialize(URI name, org.apache.hadoop.conf.Configuration conf) throws IOException
initialize
in class org.apache.hadoop.fs.FilterFileSystem
IOException
public File pathToFile(org.apache.hadoop.fs.Path path)
public boolean exists(org.apache.hadoop.fs.Path f) throws IOException
exists
in class org.apache.hadoop.fs.FileSystem
IOException
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class org.apache.hadoop.conf.Configured
public void copyFromLocalFile(boolean delSrc, org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws IOException
copyFromLocalFile
in class org.apache.hadoop.fs.FilterFileSystem
IOException
public void copyToLocalFile(boolean delSrc, org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws IOException
copyToLocalFile
in class org.apache.hadoop.fs.FilterFileSystem
IOException
Copyright © 2013. All rights reserved.