public class SimplerFileSystem
extends org.apache.hadoop.fs.FileSystem
Path
s.Constructor and Description |
---|
SimplerFileSystem(org.apache.hadoop.fs.FileSystem fs)
Constructs a new
SimplerFileSystem instance. |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.FSDataOutputStream |
append(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.FSDataOutputStream |
append(org.apache.hadoop.fs.Path f,
int bufferSize) |
org.apache.hadoop.fs.FSDataOutputStream |
append(org.apache.hadoop.fs.Path f,
int bufferSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
append(java.lang.String f) |
org.apache.hadoop.fs.FSDataOutputStream |
append(java.lang.String f,
int bufferSize) |
org.apache.hadoop.fs.FSDataOutputStream |
append(java.lang.String f,
int bufferSize,
org.apache.hadoop.util.Progressable progress) |
void |
close() |
void |
completeLocalOutput(org.apache.hadoop.fs.Path fsOutputFile,
org.apache.hadoop.fs.Path tmpLocalFile) |
void |
completeLocalOutput(java.lang.String fsOutputFile,
java.lang.String tmpLocalFile) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
org.apache.hadoop.fs.Path[] srcs,
org.apache.hadoop.fs.Path dst) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
java.lang.String[] srcs,
java.lang.String dst) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
java.lang.String src,
java.lang.String dst) |
void |
copyFromLocalFile(boolean delSrc,
org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
copyFromLocalFile(boolean delSrc,
java.lang.String src,
java.lang.String dst) |
void |
copyFromLocalFile(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
copyFromLocalFile(java.lang.String src,
java.lang.String dst) |
void |
copyToLocalFile(boolean delSrc,
org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
copyToLocalFile(boolean delSrc,
java.lang.String src,
java.lang.String dst) |
void |
copyToLocalFile(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
copyToLocalFile(java.lang.String src,
java.lang.String dst) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
boolean overwrite) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
boolean overwrite,
int bufferSize) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
boolean overwrite,
int bufferSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.permission.FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
short replication) |
org.apache.hadoop.fs.FSDataOutputStream |
create(org.apache.hadoop.fs.Path f,
short replication,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
boolean overwrite) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
org.apache.hadoop.fs.permission.FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
org.apache.hadoop.util.Progressable progress) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
short replication) |
org.apache.hadoop.fs.FSDataOutputStream |
create(java.lang.String f,
short replication,
org.apache.hadoop.util.Progressable progress) |
boolean |
createNewFile(org.apache.hadoop.fs.Path f) |
boolean |
createNewFile(java.lang.String f) |
boolean |
delete(org.apache.hadoop.fs.Path f) |
boolean |
delete(org.apache.hadoop.fs.Path f,
boolean recursive) |
boolean |
delete(java.lang.String f) |
boolean |
delete(java.lang.String f,
boolean recursive) |
boolean |
deleteOnExit(org.apache.hadoop.fs.Path f) |
boolean |
deleteOnExit(java.lang.String f) |
boolean |
equals(java.lang.Object obj) |
boolean |
exists(org.apache.hadoop.fs.Path f) |
boolean |
exists(java.lang.String f) |
long |
getBlockSize(org.apache.hadoop.fs.Path f) |
long |
getBlockSize(java.lang.String f) |
java.lang.String |
getCanonicalServiceName() |
org.apache.hadoop.conf.Configuration |
getConf() |
org.apache.hadoop.fs.ContentSummary |
getContentSummary(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.ContentSummary |
getContentSummary(java.lang.String f) |
long |
getDefaultBlockSize() |
short |
getDefaultReplication() |
org.apache.hadoop.security.token.Token<?> |
getDelegationToken(java.lang.String renewer) |
org.apache.hadoop.fs.BlockLocation[] |
getFileBlockLocations(org.apache.hadoop.fs.FileStatus file,
long start,
long len) |
org.apache.hadoop.fs.FileChecksum |
getFileChecksum(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.FileChecksum |
getFileChecksum(java.lang.String f) |
org.apache.hadoop.fs.FileStatus |
getFileStatus(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.FileStatus |
getFileStatus(java.lang.String f) |
org.apache.hadoop.fs.Path |
getHomeDirectory() |
long |
getLength(org.apache.hadoop.fs.Path f) |
long |
getLength(java.lang.String f) |
java.lang.String |
getName() |
short |
getReplication(org.apache.hadoop.fs.Path src) |
short |
getReplication(java.lang.String src) |
java.net.URI |
getUri() |
long |
getUsed() |
org.apache.hadoop.fs.Path |
getWorkingDirectory() |
org.apache.hadoop.fs.FileStatus[] |
globStatus(org.apache.hadoop.fs.Path pathPattern) |
org.apache.hadoop.fs.FileStatus[] |
globStatus(org.apache.hadoop.fs.Path pathPattern,
org.apache.hadoop.fs.PathFilter filter) |
org.apache.hadoop.fs.FileStatus[] |
globStatus(java.lang.String pathPattern) |
org.apache.hadoop.fs.FileStatus[] |
globStatus(java.lang.String pathPattern,
org.apache.hadoop.fs.PathFilter filter) |
int |
hashCode() |
void |
initialize(java.net.URI name,
org.apache.hadoop.conf.Configuration conf) |
boolean |
isDirectory(org.apache.hadoop.fs.Path f) |
boolean |
isDirectory(java.lang.String f) |
boolean |
isFile(org.apache.hadoop.fs.Path f) |
boolean |
isFile(java.lang.String f) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(org.apache.hadoop.fs.Path[] files) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(org.apache.hadoop.fs.Path[] files,
org.apache.hadoop.fs.PathFilter filter) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.PathFilter filter) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(java.lang.String f) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(java.lang.String[] files) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(java.lang.String[] files,
org.apache.hadoop.fs.PathFilter filter) |
org.apache.hadoop.fs.FileStatus[] |
listStatus(java.lang.String f,
org.apache.hadoop.fs.PathFilter filter) |
org.apache.hadoop.fs.Path |
makeQualified(org.apache.hadoop.fs.Path path) |
org.apache.hadoop.fs.Path |
makeQualified(java.lang.String path) |
boolean |
mkdirs(org.apache.hadoop.fs.Path f) |
boolean |
mkdirs(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.permission.FsPermission permission) |
boolean |
mkdirs(java.lang.String f) |
boolean |
mkdirs(java.lang.String f,
short permission) |
void |
moveFromLocalFile(org.apache.hadoop.fs.Path[] srcs,
org.apache.hadoop.fs.Path dst) |
void |
moveFromLocalFile(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
moveFromLocalFile(java.lang.String[] srcs,
java.lang.String dst) |
void |
moveFromLocalFile(java.lang.String src,
java.lang.String dst) |
void |
moveToLocalFile(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
void |
moveToLocalFile(java.lang.String src,
java.lang.String dst) |
org.apache.hadoop.fs.FSDataInputStream |
open(org.apache.hadoop.fs.Path f) |
org.apache.hadoop.fs.FSDataInputStream |
open(org.apache.hadoop.fs.Path f,
int bufferSize) |
org.apache.hadoop.fs.FSDataInputStream |
open(java.lang.String f) |
org.apache.hadoop.fs.FSDataInputStream |
open(java.lang.String f,
int bufferSize) |
boolean |
rename(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
boolean |
rename(java.lang.String src,
java.lang.String dst) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
void |
setOwner(org.apache.hadoop.fs.Path p,
java.lang.String username,
java.lang.String groupname) |
void |
setOwner(java.lang.String p,
java.lang.String username,
java.lang.String groupname) |
void |
setPermission(org.apache.hadoop.fs.Path p,
org.apache.hadoop.fs.permission.FsPermission permission) |
void |
setPermission(java.lang.String p,
short permission) |
boolean |
setReplication(org.apache.hadoop.fs.Path src,
short replication) |
boolean |
setReplication(java.lang.String src,
short replication) |
void |
setTimes(org.apache.hadoop.fs.Path p,
long mtime,
long atime) |
void |
setTimes(java.lang.String p,
long mtime,
long atime) |
void |
setVerifyChecksum(boolean verifyChecksum) |
void |
setWorkingDirectory(org.apache.hadoop.fs.Path new_dir) |
org.apache.hadoop.fs.Path |
startLocalOutput(org.apache.hadoop.fs.Path fsOutputFile,
org.apache.hadoop.fs.Path tmpLocalFile) |
org.apache.hadoop.fs.Path |
startLocalOutput(java.lang.String fsOutputFile,
java.lang.String tmpLocalFile) |
java.lang.String |
toString() |
access, addDelegationTokens, areSymlinksEnabled, cancelDeleteOnExit, canonicalizeUri, checkPath, clearStatistics, closeAll, closeAllForUGI, concat, copyToLocalFile, create, create, create, createNonRecursive, createNonRecursive, createNonRecursive, createSnapshot, createSnapshot, createSymlink, deleteSnapshot, enableSymlinks, fixRelativePart, get, get, get, getAclStatus, getAllStatistics, getCanonicalUri, getChildFileSystems, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDefaultUri, getFileBlockLocations, getFileChecksum, getFileLinkStatus, getFileSystemClass, getFSofPath, getInitialWorkingDirectory, getLinkTarget, getLocal, getNamed, getScheme, getServerDefaults, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getXAttr, getXAttrs, getXAttrs, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listStatusIterator, listXAttrs, mkdirs, modifyAclEntries, newInstance, newInstance, newInstance, newInstanceLocal, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, renameSnapshot, resolveLink, resolvePath, setAcl, setDefaultUri, setDefaultUri, setWriteChecksum, setXAttr, setXAttr, supportsSymlinks, truncate
public SimplerFileSystem(org.apache.hadoop.fs.FileSystem fs)
SimplerFileSystem
instance.fs
- Hadoop file system to use.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 org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
getConf
in class org.apache.hadoop.conf.Configured
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void initialize(java.net.URI name, org.apache.hadoop.conf.Configuration conf) throws java.io.IOException
initialize
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public java.net.URI getUri()
getUri
in class org.apache.hadoop.fs.FileSystem
public java.lang.String getCanonicalServiceName()
getCanonicalServiceName
in class org.apache.hadoop.fs.FileSystem
public java.lang.String getName()
getName
in class org.apache.hadoop.fs.FileSystem
public java.lang.String toString()
toString
in class java.lang.Object
public org.apache.hadoop.fs.Path makeQualified(java.lang.String path)
public org.apache.hadoop.fs.Path makeQualified(org.apache.hadoop.fs.Path path)
makeQualified
in class org.apache.hadoop.fs.FileSystem
public org.apache.hadoop.fs.BlockLocation[] getFileBlockLocations(org.apache.hadoop.fs.FileStatus file, long start, long len) throws java.io.IOException
getFileBlockLocations
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataInputStream open(java.lang.String f, int bufferSize) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataInputStream open(org.apache.hadoop.fs.Path f, int bufferSize) throws java.io.IOException
open
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataInputStream open(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataInputStream open(org.apache.hadoop.fs.Path f) throws java.io.IOException
open
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, boolean overwrite) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, boolean overwrite) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, short replication) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, short replication) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, short replication, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, short replication, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, boolean overwrite, int bufferSize) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, boolean overwrite, int bufferSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, boolean overwrite, int bufferSize, short replication, long blockSize) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize, short replication, long blockSize) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, boolean overwrite, int bufferSize, short replication, long blockSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize, short replication, long blockSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, org.apache.hadoop.fs.permission.FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
create
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream create(java.lang.String f, org.apache.hadoop.fs.permission.FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
java.io.IOException
public boolean createNewFile(java.lang.String f) throws java.io.IOException
java.io.IOException
public boolean createNewFile(org.apache.hadoop.fs.Path f) throws java.io.IOException
createNewFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream append(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream append(org.apache.hadoop.fs.Path f) throws java.io.IOException
append
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream append(org.apache.hadoop.fs.Path f, int bufferSize) throws java.io.IOException
append
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream append(java.lang.String f, int bufferSize) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream append(org.apache.hadoop.fs.Path f, int bufferSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
append
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FSDataOutputStream append(java.lang.String f, int bufferSize, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
java.io.IOException
public short getReplication(org.apache.hadoop.fs.Path src) throws java.io.IOException
getReplication
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public short getReplication(java.lang.String src) throws java.io.IOException
java.io.IOException
public boolean setReplication(org.apache.hadoop.fs.Path src, short replication) throws java.io.IOException
setReplication
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean setReplication(java.lang.String src, short replication) throws java.io.IOException
java.io.IOException
public boolean rename(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
rename
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean rename(java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public boolean delete(org.apache.hadoop.fs.Path f) throws java.io.IOException
delete
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean delete(java.lang.String f) throws java.io.IOException
java.io.IOException
public boolean delete(org.apache.hadoop.fs.Path f, boolean recursive) throws java.io.IOException
delete
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean delete(java.lang.String f, boolean recursive) throws java.io.IOException
java.io.IOException
public boolean deleteOnExit(org.apache.hadoop.fs.Path f) throws java.io.IOException
deleteOnExit
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean deleteOnExit(java.lang.String f) throws java.io.IOException
java.io.IOException
public boolean exists(org.apache.hadoop.fs.Path f) throws java.io.IOException
exists
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean exists(java.lang.String f) throws java.io.IOException
java.io.IOException
public boolean isDirectory(org.apache.hadoop.fs.Path f) throws java.io.IOException
isDirectory
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean isDirectory(java.lang.String f) throws java.io.IOException
java.io.IOException
public boolean isFile(org.apache.hadoop.fs.Path f) throws java.io.IOException
isFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean isFile(java.lang.String f) throws java.io.IOException
java.io.IOException
public long getLength(org.apache.hadoop.fs.Path f) throws java.io.IOException
getLength
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public long getLength(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.ContentSummary getContentSummary(org.apache.hadoop.fs.Path f) throws java.io.IOException
getContentSummary
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.ContentSummary getContentSummary(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(org.apache.hadoop.fs.Path f) throws java.io.IOException
listStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(org.apache.hadoop.fs.Path f, org.apache.hadoop.fs.PathFilter filter) throws java.io.IOException
listStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(java.lang.String f, org.apache.hadoop.fs.PathFilter filter) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(org.apache.hadoop.fs.Path[] files) throws java.io.IOException
listStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(java.lang.String[] files) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(org.apache.hadoop.fs.Path[] files, org.apache.hadoop.fs.PathFilter filter) throws java.io.IOException
listStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] listStatus(java.lang.String[] files, org.apache.hadoop.fs.PathFilter filter) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] globStatus(org.apache.hadoop.fs.Path pathPattern) throws java.io.IOException
globStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] globStatus(java.lang.String pathPattern) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] globStatus(org.apache.hadoop.fs.Path pathPattern, org.apache.hadoop.fs.PathFilter filter) throws java.io.IOException
globStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus[] globStatus(java.lang.String pathPattern, org.apache.hadoop.fs.PathFilter filter) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.Path getHomeDirectory()
getHomeDirectory
in class org.apache.hadoop.fs.FileSystem
public org.apache.hadoop.security.token.Token<?> getDelegationToken(java.lang.String renewer) throws java.io.IOException
getDelegationToken
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void setWorkingDirectory(org.apache.hadoop.fs.Path new_dir)
setWorkingDirectory
in class org.apache.hadoop.fs.FileSystem
public org.apache.hadoop.fs.Path getWorkingDirectory()
getWorkingDirectory
in class org.apache.hadoop.fs.FileSystem
public boolean mkdirs(org.apache.hadoop.fs.Path f) throws java.io.IOException
mkdirs
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean mkdirs(java.lang.String f) throws java.io.IOException
java.io.IOException
public boolean mkdirs(org.apache.hadoop.fs.Path f, org.apache.hadoop.fs.permission.FsPermission permission) throws java.io.IOException
mkdirs
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public boolean mkdirs(java.lang.String f, short permission) throws java.io.IOException
java.io.IOException
public void copyFromLocalFile(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
copyFromLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void copyFromLocalFile(java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void moveFromLocalFile(org.apache.hadoop.fs.Path[] srcs, org.apache.hadoop.fs.Path dst) throws java.io.IOException
moveFromLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void moveFromLocalFile(java.lang.String[] srcs, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void moveFromLocalFile(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
moveFromLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void moveFromLocalFile(java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void copyFromLocalFile(boolean delSrc, org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
copyFromLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void copyFromLocalFile(boolean delSrc, java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void copyFromLocalFile(boolean delSrc, boolean overwrite, org.apache.hadoop.fs.Path[] srcs, org.apache.hadoop.fs.Path dst) throws java.io.IOException
copyFromLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void copyFromLocalFile(boolean delSrc, boolean overwrite, java.lang.String[] srcs, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void copyFromLocalFile(boolean delSrc, boolean overwrite, org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
copyFromLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void copyFromLocalFile(boolean delSrc, boolean overwrite, java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void copyToLocalFile(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
copyToLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void copyToLocalFile(java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void moveToLocalFile(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
moveToLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void moveToLocalFile(java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public void copyToLocalFile(boolean delSrc, org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws java.io.IOException
copyToLocalFile
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void copyToLocalFile(boolean delSrc, java.lang.String src, java.lang.String dst) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.Path startLocalOutput(org.apache.hadoop.fs.Path fsOutputFile, org.apache.hadoop.fs.Path tmpLocalFile) throws java.io.IOException
startLocalOutput
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.Path startLocalOutput(java.lang.String fsOutputFile, java.lang.String tmpLocalFile) throws java.io.IOException
java.io.IOException
public void completeLocalOutput(org.apache.hadoop.fs.Path fsOutputFile, org.apache.hadoop.fs.Path tmpLocalFile) throws java.io.IOException
completeLocalOutput
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void completeLocalOutput(java.lang.String fsOutputFile, java.lang.String tmpLocalFile) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public long getUsed() throws java.io.IOException
getUsed
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public long getBlockSize(org.apache.hadoop.fs.Path f) throws java.io.IOException
getBlockSize
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public long getBlockSize(java.lang.String f) throws java.io.IOException
java.io.IOException
public long getDefaultBlockSize()
getDefaultBlockSize
in class org.apache.hadoop.fs.FileSystem
public short getDefaultReplication()
getDefaultReplication
in class org.apache.hadoop.fs.FileSystem
public org.apache.hadoop.fs.FileStatus getFileStatus(org.apache.hadoop.fs.Path f) throws java.io.IOException
getFileStatus
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileStatus getFileStatus(java.lang.String f) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileChecksum getFileChecksum(org.apache.hadoop.fs.Path f) throws java.io.IOException
getFileChecksum
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public org.apache.hadoop.fs.FileChecksum getFileChecksum(java.lang.String f) throws java.io.IOException
java.io.IOException
public void setVerifyChecksum(boolean verifyChecksum)
setVerifyChecksum
in class org.apache.hadoop.fs.FileSystem
public void setPermission(org.apache.hadoop.fs.Path p, org.apache.hadoop.fs.permission.FsPermission permission) throws java.io.IOException
setPermission
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void setPermission(java.lang.String p, short permission) throws java.io.IOException
java.io.IOException
public void setOwner(org.apache.hadoop.fs.Path p, java.lang.String username, java.lang.String groupname) throws java.io.IOException
setOwner
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void setOwner(java.lang.String p, java.lang.String username, java.lang.String groupname) throws java.io.IOException
java.io.IOException
public void setTimes(org.apache.hadoop.fs.Path p, long mtime, long atime) throws java.io.IOException
setTimes
in class org.apache.hadoop.fs.FileSystem
java.io.IOException
public void setTimes(java.lang.String p, long mtime, long atime) throws java.io.IOException
java.io.IOException