@InterfaceAudience.Public @InterfaceStability.Stable public class S3FileSystem extends FileSystem
FileSystem backed by
Amazon S3.NativeS3FileSystemFileSystem.StatisticsDEFAULT_FS, FS_DEFAULT_NAME_KEY, LOG, SHUTDOWN_HOOK_PRIORITY, statistics| Constructor and Description |
|---|
S3FileSystem() |
S3FileSystem(FileSystemStore store) |
| Modifier and Type | Method and Description |
|---|---|
FSDataOutputStream |
append(Path f,
int bufferSize,
Progressable progress)
This optional operation is not yet supported.
|
FSDataOutputStream |
create(Path file,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
boolean |
delete(Path path,
boolean recursive) |
String |
getCanonicalServiceName() |
long |
getDefaultBlockSize() |
FileStatus |
getFileStatus(Path f)
FileStatus for S3 file systems.
|
String |
getScheme()
Return the protocol scheme for the FileSystem.
|
URI |
getUri() |
Path |
getWorkingDirectory() |
void |
initialize(URI uri,
Configuration conf) |
boolean |
isFile(Path path) |
FileStatus[] |
listStatus(Path f) |
boolean |
mkdirs(Path path,
FsPermission permission) |
FSDataInputStream |
open(Path path,
int bufferSize) |
boolean |
rename(Path src,
Path dst) |
void |
setWorkingDirectory(Path dir) |
access, addDelegationTokens, append, append, areSymlinksEnabled, cancelDeleteOnExit, canonicalizeUri, checkPath, clearStatistics, close, closeAll, closeAllForUGI, completeLocalOutput, concat, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, create, create, createNewFile, createNonRecursive, createNonRecursive, createNonRecursive, createSnapshot, createSnapshot, createSymlink, delete, deleteOnExit, deleteSnapshot, enableSymlinks, exists, fixRelativePart, get, get, get, getAclStatus, getAllStatistics, getBlockSize, getCanonicalUri, getChildFileSystems, getContentSummary, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDefaultReplication, getDefaultUri, getDelegationToken, getFileBlockLocations, getFileBlockLocations, getFileChecksum, getFileChecksum, getFileLinkStatus, getFileSystemClass, getFSofPath, getHomeDirectory, getInitialWorkingDirectory, getLength, getLinkTarget, getLocal, getName, getNamed, getReplication, getServerDefaults, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getUsed, getXAttr, getXAttrs, getXAttrs, globStatus, globStatus, isDirectory, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listStatus, listStatus, listStatus, listStatusIterator, listXAttrs, makeQualified, mkdirs, mkdirs, modifyAclEntries, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, newInstance, newInstance, newInstance, newInstanceLocal, open, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, renameSnapshot, resolveLink, resolvePath, setAcl, setDefaultUri, setDefaultUri, setOwner, setPermission, setReplication, setTimes, setVerifyChecksum, setWriteChecksum, setXAttr, setXAttr, startLocalOutput, supportsSymlinks, truncategetConf, setConfpublic S3FileSystem()
public S3FileSystem(FileSystemStore store)
public String getScheme()
getScheme in class FileSystems3public URI getUri()
getUri in class FileSystempublic void initialize(URI uri, Configuration conf) throws IOException
initialize in class FileSystemIOExceptionpublic Path getWorkingDirectory()
getWorkingDirectory in class FileSystempublic void setWorkingDirectory(Path dir)
setWorkingDirectory in class FileSystempublic boolean mkdirs(Path path, FsPermission permission) throws IOException
mkdirs in class FileSystempermission - Currently ignored.IOExceptionpublic boolean isFile(Path path) throws IOException
isFile in class FileSystemIOExceptionpublic FileStatus[] listStatus(Path f) throws IOException
listStatus in class FileSystemIOExceptionpublic FSDataOutputStream append(Path f, int bufferSize, Progressable progress) throws IOException
append in class FileSystemIOExceptionpublic FSDataOutputStream create(Path file, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws IOException
create in class FileSystempermission - Currently ignored.IOExceptionpublic FSDataInputStream open(Path path, int bufferSize) throws IOException
open in class FileSystemIOExceptionpublic boolean rename(Path src, Path dst) throws IOException
rename in class FileSystemIOExceptionpublic boolean delete(Path path, boolean recursive) throws IOException
delete in class FileSystemIOExceptionpublic FileStatus getFileStatus(Path f) throws IOException
getFileStatus in class FileSystemIOExceptionpublic long getDefaultBlockSize()
getDefaultBlockSize in class FileSystempublic String getCanonicalServiceName()
getCanonicalServiceName in class FileSystemCopyright © 2018 CERN. All Rights Reserved.