| Package | Description |
|---|---|
| org.apache.hadoop.conf |
Configuration of system parameters.
|
| org.apache.hadoop.crypto.key |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.ftp | |
| org.apache.hadoop.fs.impl |
This package contains implementation classes for use inside
filesystems.
|
| org.apache.hadoop.fs.local |
Filesystem implementations that allow Hadoop to read directly from
the local file system.
|
| org.apache.hadoop.fs.sftp |
SFTP FileSystem package.
|
| org.apache.hadoop.fs.shell |
Support for the execution of a file system command.
|
| org.apache.hadoop.fs.shell.find | |
| org.apache.hadoop.fs.viewfs |
ViewFileSystem and ViewFileSystemOverloadScheme classes.
|
| org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
| org.apache.hadoop.io.compress | |
| org.apache.hadoop.io.wrappedio |
Support for dynamic access to filesystem operations which are not available
in older hadoop releases.
|
| org.apache.hadoop.io.wrappedio.impl |
Implementation/testing support for wrapped IO.
|
| org.apache.hadoop.maprfs | |
| org.apache.hadoop.metrics2.sink |
Builtin metrics sinks
|
| org.apache.hadoop.security | |
| org.apache.hadoop.security.alias |
Provides the hadoop credential provider API.
|
| org.apache.hadoop.util |
Common utilities.
|
| Modifier and Type | Method | Description |
|---|---|---|
Path |
Configuration.getLocalPath(java.lang.String dirsProp,
java.lang.String path) |
Get a local file under a directory named by dirsProp with
the given path.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Configuration.addResource(Path file) |
Add a configuration resource.
|
void |
Configuration.addResource(Path file,
boolean restrictedParser) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
JavaKeyStoreProvider.backupToOld(Path oldPath) |
|
protected void |
JavaKeyStoreProvider.writeToNew(Path newPath) |
| Modifier and Type | Field | Description |
|---|---|---|
protected Path |
FSInputChecker.file |
The file name from which data is read from
|
protected Path |
TrashPolicy.trash |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
BulkDelete.basePath() |
Base path of a bulk delete operation.
|
Path |
AbstractFileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
The specification of this method matches that of
FileContext.createSnapshot(Path, String). |
Path |
FileContext.createSnapshot(Path path) |
Create a snapshot with a default name.
|
Path |
FileContext.createSnapshot(Path path,
java.lang.String snapshotName) |
Create a snapshot.
|
Path |
FileSystem.createSnapshot(Path path) |
Create a snapshot with a default name.
|
Path |
FileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
Create a snapshot.
|
Path |
FilterFileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
|
Path |
FilterFs.createSnapshot(Path path,
java.lang.String snapshotName) |
|
protected Path |
FileSystem.fixRelativePart(Path p) |
|
static Path |
FileUtil.fixSymlinkFileStatus(FileStatus stat) |
|
static Path |
FileUtil.fixSymlinkPath(PathData path) |
|
Path |
ChecksumFileSystem.getChecksumFile(Path file) |
Return the name of the checksum file associated with a file.
|
Path |
ChecksumFs.getChecksumFile(Path file) |
Return the name of the checksum file associated with a file.
|
Path |
FsShell.getCurrentTrashDir() |
Returns the Trash object associated with this shell.
|
Path |
FsShell.getCurrentTrashDir(Path path) |
Returns the current trash location for the path specified
|
Path |
Trash.getCurrentTrashDir(Path path) |
|
abstract Path |
TrashPolicy.getCurrentTrashDir() |
Get the current working directory of the Trash Policy
This API does not work with files deleted from encryption zone when HDFS
data encryption at rest feature is enabled as rename file between
encryption zones or encryption zone and non-encryption zone is not allowed.
|
Path |
TrashPolicy.getCurrentTrashDir(Path path) |
Get the current trash directory for path specified based on the Trash
Policy
|
Path |
TrashPolicyDefault.getCurrentTrashDir() |
|
Path |
TrashPolicyDefault.getCurrentTrashDir(Path path) |
|
Path |
AbstractFileSystem.getEnclosingRoot(Path path) |
Return path of the enclosing root for a given path
The enclosing root path is a common ancestor that should be used for temp and staging dirs
as well as within encryption zones and other restricted directories.
|
Path |
FileSystem.getEnclosingRoot(Path path) |
Return path of the enclosing root for a given path.
|
Path |
FilterFileSystem.getEnclosingRoot(Path path) |
|
Path |
FilterFs.getEnclosingRoot(Path path) |
|
Path |
AbstractFileSystem.getHomeDirectory() |
Return the current user's home directory in this file system.
|
Path |
DelegateToFileSystem.getHomeDirectory() |
|
Path |
FileContext.getHomeDirectory() |
Return the current user's home directory in this file system.
|
Path |
FileSystem.getHomeDirectory() |
Return the current user's home directory in this FileSystem.
|
Path |
FilterFileSystem.getHomeDirectory() |
|
Path |
FilterFs.getHomeDirectory() |
|
Path |
HarFileSystem.getHomeDirectory() |
return the top level archive path.
|
Path |
RawLocalFileSystem.getHomeDirectory() |
|
Path |
AbstractFileSystem.getInitialWorkingDirectory() |
Some file systems like LocalFileSystem have an initial workingDir
that is used as the starting workingDir.
|
Path |
DelegateToFileSystem.getInitialWorkingDirectory() |
|
protected Path |
FileSystem.getInitialWorkingDirectory() |
Note: with the new FileContext class, getWorkingDirectory()
will be removed.
|
protected Path |
FilterFileSystem.getInitialWorkingDirectory() |
|
Path |
FilterFs.getInitialWorkingDirectory() |
|
Path |
HarFileSystem.getInitialWorkingDirectory() |
|
protected Path |
RawLocalFileSystem.getInitialWorkingDirectory() |
|
Path |
AbstractFileSystem.getLinkTarget(Path f) |
Partially resolves the path.
|
Path |
DelegateToFileSystem.getLinkTarget(Path f) |
|
Path |
FileContext.getLinkTarget(Path f) |
Returns the target of the given symbolic link as it was specified
when the link was created.
|
Path |
FileSystem.getLinkTarget(Path f) |
|
Path |
FilterFileSystem.getLinkTarget(Path f) |
|
Path |
FilterFs.getLinkTarget(Path f) |
|
Path |
LocalFileSystem.getLinkTarget(Path f) |
|
Path |
RawLocalFileSystem.getLinkTarget(Path f) |
|
Path |
PartialListing.getListedPath() |
Path being listed.
|
Path |
LocalDirAllocator.getLocalPathForWrite(java.lang.String pathStr,
long size,
Configuration conf) |
Get a path from the local FS.
|
Path |
LocalDirAllocator.getLocalPathForWrite(java.lang.String pathStr,
long size,
Configuration conf,
boolean checkWrite) |
Get a path from the local FS.
|
Path |
LocalDirAllocator.getLocalPathForWrite(java.lang.String pathStr,
Configuration conf) |
Get a path from the local FS.
|
Path |
LocalDirAllocator.getLocalPathToRead(java.lang.String pathStr,
Configuration conf) |
Get a path from the local FS for reading.
|
Path |
Path.getParent() |
Returns the parent of a path or null if at root.
|
Path |
FileStatus.getPath() |
|
Path |
PathIOException.getPath() |
|
static Path |
Path.getPathWithoutSchemeAndAuthority(Path path) |
Return a version of the given Path without the scheme information.
|
Path |
FileStatus.getSymlink() |
|
Path |
PathIOException.getTargetPath() |
|
Path |
FileSystem.getTrashRoot(Path path) |
Get the root directory of Trash for current user when the path specified
is deleted.
|
Path |
FilterFileSystem.getTrashRoot(Path path) |
|
Path |
FileContext.getWorkingDirectory() |
Gets the working directory for wd-relative names (such a "foo/bar").
|
abstract Path |
FileSystem.getWorkingDirectory() |
Get the current working directory for the given FileSystem
|
Path |
FilterFileSystem.getWorkingDirectory() |
Get the current working directory for the given file system
|
Path |
HarFileSystem.getWorkingDirectory() |
return the top level archive.
|
Path |
RawLocalFileSystem.getWorkingDirectory() |
|
Path |
AbstractFileSystem.makeQualified(Path path) |
Make the path fully qualified to this file system
|
Path |
FileContext.makeQualified(Path path) |
Make the path fully qualified if it is isn't.
|
Path |
FileSystem.makeQualified(Path path) |
Qualify a path to one which uses this FileSystem and, if relative,
made absolute.
|
Path |
FilterFileSystem.makeQualified(Path path) |
Make sure that a path specifies a FileSystem.
|
Path |
FilterFs.makeQualified(Path path) |
|
Path |
HarFileSystem.makeQualified(Path path) |
|
Path |
Path.makeQualified(java.net.URI defaultUri,
Path workingDir) |
Returns a qualified path object.
|
Path |
Path.makeQualified(FileSystem fs) |
Deprecated.
|
static Path |
Path.mergePaths(Path path1,
Path path2) |
Merge 2 paths such that the second path is appended relative to the first.
|
static Path |
FSLinkResolver.qualifySymlinkTarget(java.net.URI pathURI,
Path pathWithLink,
Path target) |
Return a fully-qualified version of the given symlink target if it
has no scheme and authority.
|
protected Path |
FileContext.resolve(Path f) |
Resolves all symbolic links in the specified path.
|
protected Path |
FileContext.resolveIntermediate(Path f) |
Resolves all symbolic links in the specified path leading up
to, but not including the final path component.
|
protected Path |
FileSystem.resolveLink(Path f) |
|
protected Path |
FilterFileSystem.resolveLink(Path f) |
|
Path |
AbstractFileSystem.resolvePath(Path p) |
Return the fully-qualified path of path f resolving the path
through any internal symlinks or mount point
|
Path |
FileContext.resolvePath(Path f) |
Resolve the path following any symlinks or mount points
|
Path |
FileSystem.resolvePath(Path p) |
Return the fully-qualified path of path, resolving the path
through any symlinks or mount point.
|
Path |
FilterFileSystem.resolvePath(Path p) |
|
Path |
FilterFs.resolvePath(Path p) |
|
Path |
HarFileSystem.resolvePath(Path p) |
|
Path |
ChecksumFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
|
Path |
FileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Returns a local file that the user can write output to.
|
Path |
FilterFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Returns a local File that the user can write output to.
|
Path |
HarFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
not implemented.
|
Path |
RawLocalFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
|
static Path[] |
FileUtil.stat2Paths(FileStatus[] stats) |
convert an array of FileStatus to an array of Path
|
static Path[] |
FileUtil.stat2Paths(FileStatus[] stats,
Path path) |
convert an array of FileStatus to an array of Path.
|
Path |
Path.suffix(java.lang.String suffix) |
Adds a suffix to the final name in the path.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
BulkDelete.bulkDelete(java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
java.lang.Iterable<Path> |
LocalDirAllocator.getAllLocalPathsToRead(java.lang.String pathStr,
Configuration conf) |
Get all of the paths that currently exist in the working directories.
|
static java.util.List<Path> |
FileUtil.getJarsInDirectory(java.lang.String path) |
Returns all jars that are in the directory.
|
static java.util.List<Path> |
FileUtil.getJarsInDirectory(java.lang.String path,
boolean useLocal) |
Returns all jars that are in the directory.
|
java.util.Optional<Path> |
Path.getOptionalParentPath() |
Returns the parent of a path as
Optional or
Optional.empty() i.e an empty Optional if at root. |
RemoteIterator<Path> |
AbstractFileSystem.listCorruptFileBlocks(Path path) |
|
RemoteIterator<Path> |
FileContext.listCorruptFileBlocks(Path path) |
List CorruptFile Blocks.
|
RemoteIterator<Path> |
FileSystem.listCorruptFileBlocks(Path path) |
List corrupted file blocks.
|
RemoteIterator<Path> |
FilterFileSystem.listCorruptFileBlocks(Path path) |
|
RemoteIterator<Path> |
FilterFs.listCorruptFileBlocks(Path path) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
MultipartUploader.abort(UploadHandle uploadId,
Path filePath) |
Aborts a multipart upload.
|
java.util.concurrent.CompletableFuture<java.lang.Integer> |
MultipartUploader.abortUploadsUnderPath(Path path) |
Best effort attempt to aborts multipart uploads under a path.
|
boolean |
GlobFilter.accept(Path path) |
|
boolean |
PathFilter.accept(Path path) |
Tests whether or not the specified abstract pathname should be
included in a pathname list.
|
void |
AbstractFileSystem.access(Path path,
FsAction mode) |
The specification of this method matches that of
FileContext.access(Path, FsAction)
except that an UnresolvedLinkException may be thrown if a symlink is
encountered in the path. |
void |
FileContext.access(Path path,
FsAction mode) |
Checks if the user can access a path.
|
void |
FileSystem.access(Path path,
FsAction mode) |
Checks if the user can access a path.
|
void |
FilterFileSystem.access(Path path,
FsAction mode) |
|
void |
FilterFs.access(Path path,
FsAction mode) |
|
FSDataOutputStream |
ChecksumFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
FileSystem.append(Path f) |
Append to an existing file (optional operation).
|
FSDataOutputStream |
FileSystem.append(Path f,
boolean appendToNewBlock) |
Append to an existing file (optional operation).
|
FSDataOutputStream |
FileSystem.append(Path f,
int bufferSize) |
Append to an existing file (optional operation).
|
abstract FSDataOutputStream |
FileSystem.append(Path f,
int bufferSize,
Progressable progress) |
Append to an existing file (optional operation).
|
FSDataOutputStream |
FileSystem.append(Path f,
int bufferSize,
Progressable progress,
boolean appendToNewBlock) |
Append to an existing file (optional operation).
|
FSDataOutputStream |
FilterFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
HarFileSystem.append(Path f) |
|
FSDataOutputStream |
HarFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStreamBuilder |
ChecksumFileSystem.appendFile(Path path) |
This is overridden to ensure that this class's create() method is
ultimately called.
|
FSDataOutputStreamBuilder |
FileSystem.appendFile(Path path) |
Create a Builder to append a file.
|
FSDataOutputStreamBuilder |
FilterFileSystem.appendFile(Path path) |
|
FSDataOutputStreamBuilder |
HarFileSystem.appendFile(Path path) |
|
boolean |
FileSystem.cancelDeleteOnExit(Path f) |
Cancel the scheduled deletion of the path when the FileSystem is closed.
|
void |
AbstractFileSystem.checkPath(Path path) |
Check that a Path belongs to this FileSystem.
|
protected void |
FileSystem.checkPath(Path path) |
Check that a Path belongs to this FileSystem.
|
protected void |
FilterFileSystem.checkPath(Path path) |
Check that a Path belongs to this FileSystem.
|
void |
FilterFs.checkPath(Path path) |
|
protected void |
HarFileSystem.checkPath(Path path) |
|
static PathData |
FileUtil.checkPathForSymlink(Path path,
Configuration conf) |
|
int |
Path.compareTo(Path o) |
|
java.util.concurrent.CompletableFuture<PathHandle> |
MultipartUploader.complete(UploadHandle uploadId,
Path filePath,
java.util.Map<java.lang.Integer,PartHandle> handles) |
Complete a multipart upload.
|
void |
ChecksumFileSystem.completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
|
void |
FileSystem.completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Called when we're all done writing to the target.
|
void |
FilterFileSystem.completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Called when we're all done writing to the target.
|
void |
HarFileSystem.completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
not implemented.
|
void |
RawLocalFileSystem.completeLocalOutput(Path fsWorkingFile,
Path tmpLocalFile) |
|
void |
ChecksumFileSystem.concat(Path f,
Path[] psrcs) |
|
void |
FileSystem.concat(Path trg,
Path[] psrcs) |
Concat existing files together.
|
void |
FilterFileSystem.concat(Path f,
Path[] psrcs) |
|
void |
RawLocalFileSystem.concat(Path trg,
Path[] psrcs) |
|
boolean |
FileContext.Util.copy(Path src,
Path dst) |
Copy file from src to dest.
|
boolean |
FileContext.Util.copy(Path src,
Path dst,
boolean deleteSource,
boolean overwrite) |
Copy from src to dst, optionally deleting src and overwriting dst.
|
static boolean |
FileUtil.copy(java.io.File src,
FileSystem dstFS,
Path dst,
boolean deleteSource,
Configuration conf) |
Copy local files to a FileSystem.
|
static boolean |
FileUtil.copy(FileSystem srcFS,
FileStatus srcStatus,
FileSystem dstFS,
Path dst,
boolean deleteSource,
boolean overwrite,
Configuration conf) |
Copy a file/directory tree within/between filesystems.
|
static boolean |
FileUtil.copy(FileSystem srcFS,
Path[] srcs,
FileSystem dstFS,
Path dst,
boolean deleteSource,
boolean overwrite,
Configuration conf) |
|
static boolean |
FileUtil.copy(FileSystem srcFS,
Path src,
java.io.File dst,
boolean deleteSource,
Configuration conf) |
Copy FileSystem files to local files.
|
static boolean |
FileUtil.copy(FileSystem srcFS,
Path src,
FileSystem dstFS,
Path dst,
boolean deleteSource,
boolean overwrite,
Configuration conf) |
Copy files between FileSystems.
|
static boolean |
FileUtil.copy(FileSystem srcFS,
Path src,
FileSystem dstFS,
Path dst,
boolean deleteSource,
Configuration conf) |
Copy files between FileSystems.
|
static boolean |
FileUtil.copyAsMove(FileSystem srcFS,
FileStatus srcStatus,
FileSystem dstFS,
Path dst,
boolean deleteSource,
boolean overwrite,
Configuration conf) |
Copy files between FileSystems with preserved permissions, ownership, links and ACEs.
|
void |
ChecksumFileSystem.copyFromLocalFile(boolean delSrc,
Path src,
Path dst) |
|
void |
FileSystem.copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path[] srcs,
Path dst) |
The src files are on the local disk.
|
void |
FileSystem.copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path src,
Path dst) |
The src file is on the local disk.
|
void |
FileSystem.copyFromLocalFile(boolean delSrc,
Path src,
Path dst) |
The src file is on the local disk.
|
void |
FileSystem.copyFromLocalFile(Path src,
Path dst) |
The src file is on the local disk.
|
void |
FilterFileSystem.copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path[] srcs,
Path dst) |
The src files are on the local disk.
|
void |
FilterFileSystem.copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path src,
Path dst) |
The src file is on the local disk.
|
void |
FilterFileSystem.copyFromLocalFile(boolean delSrc,
Path src,
Path dst) |
The src file is on the local disk.
|
void |
HarFileSystem.copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path[] srcs,
Path dst) |
|
void |
HarFileSystem.copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path src,
Path dst) |
not implemented.
|
void |
LocalFileSystem.copyFromLocalFile(boolean delSrc,
Path src,
Path dst) |
|
static boolean |
FileUtil.copyMerge(FileSystem srcFS,
Path srcDir,
FileSystem dstFS,
Path dstFile,
boolean deleteSource,
Configuration conf,
java.lang.String addString) |
Copy all files in a directory to one output file (merge).
|
void |
ChecksumFileSystem.copyToLocalFile(boolean delSrc,
Path src,
Path dst) |
The src file is under FS, and the dst is on the local disk.
|
void |
ChecksumFileSystem.copyToLocalFile(Path src,
Path dst,
boolean copyCrc) |
The src file is under FS, and the dst is on the local disk.
|
void |
FileSystem.copyToLocalFile(boolean delSrc,
Path src,
Path dst) |
Copy it a file from a remote filesystem to the local one.
|
void |
FileSystem.copyToLocalFile(boolean delSrc,
Path src,
Path dst,
boolean useRawLocalFileSystem) |
The src file is under this filesystem, and the dst is on the local disk.
|
void |
FileSystem.copyToLocalFile(Path src,
Path dst) |
Copy it a file from the remote filesystem to the local one.
|
void |
FilterFileSystem.copyToLocalFile(boolean delSrc,
Path src,
Path dst) |
The src file is under FS, and the dst is on the local disk.
|
void |
HarFileSystem.copyToLocalFile(boolean delSrc,
Path src,
Path dst) |
copies the file in the har filesystem to a local file.
|
void |
LocalFileSystem.copyToLocalFile(boolean delSrc,
Path src,
Path dst) |
|
FSDataOutputStream |
AbstractFileSystem.create(Path f,
java.util.EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts) |
The specification of this method matches that of
FileContext.create(Path, EnumSet, Options.CreateOpts...) except
that the Path f must be fully qualified and the permission is absolute
(i.e. |
FSDataOutputStream |
ChecksumFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
ChecksumFileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
FSDataOutputStreamBuilder<FSDataOutputStream,?> |
FileContext.create(Path f) |
Create a
FSDataOutputStreamBuilder for creating or overwriting
a file on indicated path. |
FSDataOutputStream |
FileContext.create(Path f,
java.util.EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts) |
Create or overwrite file on indicated path and returns an output stream for
writing into the file.
|
static FSDataOutputStream |
FileSystem.create(FileSystem fs,
Path file,
FsPermission permission) |
Create a file with the provided permission.
|
FSDataOutputStream |
FileSystem.create(Path f) |
Create an FSDataOutputStream at the indicated Path.
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite) |
Create an FSDataOutputStream at the indicated Path.
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite,
int bufferSize) |
Create an FSDataOutputStream at the indicated Path.
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize) |
Create an FSDataOutputStream at the indicated Path.
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite,
int bufferSize,
Progressable progress) |
Create an
FSDataOutputStream at the indicated Path
with write-progress reporting. |
FSDataOutputStream |
FileSystem.create(Path f,
short replication) |
Create an FSDataOutputStream at the indicated Path.
|
FSDataOutputStream |
FileSystem.create(Path f,
short replication,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
abstract FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
Create an FSDataOutputStream at the indicated Path with a custom
checksum option.
|
FSDataOutputStream |
FileSystem.create(Path f,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FilterFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
FilterFileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
FSDataOutputStream |
HarFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
BulkDelete |
BulkDeleteSource.createBulkDelete(Path path) |
Create a bulk delete operation.
|
BulkDelete |
FileSystem.createBulkDelete(Path path) |
Create a bulk delete operation.
|
protected static org.apache.hadoop.fs.FileSystem.FSDataInputStreamBuilder |
FileSystem.createDataInputStreamBuilder(FileSystem fileSystem,
Path path) |
Create instance of the standard
FileSystem.FSDataInputStreamBuilder for the
given filesystem and path. |
protected static FSDataOutputStreamBuilder |
FileSystem.createDataOutputStreamBuilder(FileSystem fileSystem,
Path path) |
Create instance of the standard FSDataOutputStreamBuilder for the
given filesystem and path.
|
FSDataOutputStreamBuilder |
ChecksumFileSystem.createFile(Path path) |
This is overridden to ensure that this class's create() method is
ultimately called.
|
FSDataOutputStreamBuilder |
FileSystem.createFile(Path path) |
Create a new FSDataOutputStreamBuilder for the file with path.
|
FSDataOutputStreamBuilder |
FilterFileSystem.createFile(Path path) |
|
FSDataOutputStreamBuilder |
HarFileSystem.createFile(Path path) |
|
abstract FSDataOutputStream |
AbstractFileSystem.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
The specification of this method matches that of
AbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...) except that the opts
have been declared explicitly. |
FSDataOutputStream |
ChecksumFs.createInternal(Path f,
java.util.EnumSet<CreateFlag> createFlag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
DelegateToFileSystem.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
FilterFs.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
static java.lang.String[] |
FileUtil.createJarWithClassPath(java.lang.String inputClassPath,
Path pwd,
java.util.Map<java.lang.String,java.lang.String> callerEnv) |
|
static java.lang.String[] |
FileUtil.createJarWithClassPath(java.lang.String inputClassPath,
Path pwd,
Path targetDir,
java.util.Map<java.lang.String,java.lang.String> callerEnv) |
Create a jar file at the given path, containing a manifest with a classpath
that references all specified entries.
|
MultipartUploaderBuilder |
AbstractFileSystem.createMultipartUploader(Path basePath) |
Create a multipart uploader.
|
MultipartUploaderBuilder |
FileContext.createMultipartUploader(Path basePath) |
Create a multipart uploader.
|
MultipartUploaderBuilder |
FileSystem.createMultipartUploader(Path basePath) |
Create a multipart uploader.
|
MultipartUploaderBuilder |
FilterFs.createMultipartUploader(Path basePath) |
|
boolean |
FileSystem.createNewFile(Path f) |
Creates the given Path as a brand-new zero-length file.
|
FSDataOutputStream |
ChecksumFileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
ChecksumFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Opens an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Opens an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Opens an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FilterFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
HarFileSystem.createNonRecursive(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
protected java.io.OutputStream |
RawLocalFileSystem.createOutputStream(Path f,
boolean append) |
|
protected java.io.OutputStream |
RawLocalFileSystem.createOutputStreamWithMode(Path f,
boolean append,
FsPermission permission) |
|
Path |
AbstractFileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
The specification of this method matches that of
FileContext.createSnapshot(Path, String). |
Path |
FileContext.createSnapshot(Path path) |
Create a snapshot with a default name.
|
Path |
FileContext.createSnapshot(Path path,
java.lang.String snapshotName) |
Create a snapshot.
|
Path |
FileSystem.createSnapshot(Path path) |
Create a snapshot with a default name.
|
Path |
FileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
Create a snapshot.
|
Path |
FilterFileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
|
Path |
FilterFs.createSnapshot(Path path,
java.lang.String snapshotName) |
|
void |
AbstractFileSystem.createSymlink(Path target,
Path link,
boolean createParent) |
The specification of this method matches that of
FileContext.createSymlink(Path, Path, boolean); |
void |
DelegateToFileSystem.createSymlink(Path target,
Path link,
boolean createParent) |
|
void |
FileContext.createSymlink(Path target,
Path link,
boolean createParent) |
Creates a symbolic link to an existing file.
|
void |
FileSystem.createSymlink(Path target,
Path link,
boolean createParent) |
|
void |
FilterFileSystem.createSymlink(Path target,
Path link,
boolean createParent) |
|
void |
FilterFs.createSymlink(Path target,
Path link,
boolean createParent) |
|
void |
LocalFileSystem.createSymlink(Path target,
Path link,
boolean createParent) |
|
void |
RawLocalFileSystem.createSymlink(Path target,
Path link,
boolean createParent) |
|
abstract boolean |
AbstractFileSystem.delete(Path f,
boolean recursive) |
The specification of this method matches that of
FileContext.delete(Path, boolean) except that Path f must be for
this file system. |
boolean |
ChecksumFileSystem.delete(Path f,
boolean recursive) |
Implement the delete(Path, boolean) in checksum
file system.
|
boolean |
ChecksumFs.delete(Path f,
boolean recursive) |
Implement the delete(Path, boolean) in checksum
file system.
|
boolean |
DelegateToFileSystem.delete(Path f,
boolean recursive) |
|
boolean |
FileContext.delete(Path f,
boolean recursive) |
Delete a file.
|
boolean |
FileSystem.delete(Path f) |
Deprecated.
Use
FileSystem.delete(Path, boolean) instead. |
abstract boolean |
FileSystem.delete(Path f,
boolean recursive) |
Delete a file.
|
boolean |
FilterFileSystem.delete(Path f,
boolean recursive) |
Delete a file
|
boolean |
FilterFs.delete(Path f,
boolean recursive) |
|
boolean |
HarFileSystem.delete(Path f,
boolean recursive) |
Not implemented.
|
boolean |
RawLocalFileSystem.delete(Path p,
boolean recursive) |
Delete the given path to a file or directory.
|
boolean |
FileContext.deleteOnExit(Path f) |
Mark a path to be deleted on JVM shutdown.
|
boolean |
FileSystem.deleteOnExit(Path f) |
Mark a path to be deleted when its FileSystem is closed.
|
void |
AbstractFileSystem.deleteSnapshot(Path snapshotDir,
java.lang.String snapshotName) |
The specification of this method matches that of
FileContext.deleteSnapshot(Path, String). |
void |
FileContext.deleteSnapshot(Path path,
java.lang.String snapshotName) |
Delete a snapshot of a directory.
|
void |
FileSystem.deleteSnapshot(Path path,
java.lang.String snapshotName) |
Delete a snapshot of a directory.
|
void |
FilterFileSystem.deleteSnapshot(Path path,
java.lang.String snapshotName) |
|
void |
FilterFs.deleteSnapshot(Path path,
java.lang.String snapshotName) |
|
abstract T |
FileSystemLinkResolver.doCall(Path p) |
FileSystem subclass-specific implementation of superclass method.
|
boolean |
FileContext.Util.exists(Path f) |
Does the file exist?
Note: Avoid using this method if you already have FileStatus in hand.
|
boolean |
FileSystem.exists(Path f) |
Check if a path exists.
|
boolean |
RawLocalFileSystem.exists(Path f) |
|
protected Path |
FileSystem.fixRelativePart(Path p) |
|
static void |
FileUtil.fullyDelete(FileSystem fs,
Path dir) |
Deprecated.
|
AclStatus |
AbstractFileSystem.getAclStatus(Path path) |
Gets the ACLs of files and directories.
|
AclStatus |
FileContext.getAclStatus(Path path) |
Gets the ACLs of files and directories.
|
AclStatus |
FileSystem.getAclStatus(Path path) |
Gets the ACL of a file or directory.
|
AclStatus |
FilterFileSystem.getAclStatus(Path path) |
|
AclStatus |
FilterFs.getAclStatus(Path path) |
|
long |
FileSystem.getBlockSize(Path f) |
Deprecated.
Use
FileSystem.getFileStatus(Path) instead |
Path |
ChecksumFileSystem.getChecksumFile(Path file) |
Return the name of the checksum file associated with a file.
|
Path |
ChecksumFs.getChecksumFile(Path file) |
Return the name of the checksum file associated with a file.
|
long |
ChecksumFileSystem.getChecksumFileLength(Path file,
long fileSize) |
Return the length of the checksum file given the size of the
actual file.
|
long |
ChecksumFs.getChecksumFileLength(Path file,
long fileSize) |
Return the length of the checksum file given the size of the
actual file.
|
ContentSummary |
FileContext.Util.getContentSummary(Path f) |
Return the
ContentSummary of path f. |
ContentSummary |
FileSystem.getContentSummary(Path f) |
Return the
ContentSummary of a given Path. |
Path |
FsShell.getCurrentTrashDir(Path path) |
Returns the current trash location for the path specified
|
Path |
Trash.getCurrentTrashDir(Path path) |
|
Path |
TrashPolicy.getCurrentTrashDir(Path path) |
Get the current trash directory for path specified based on the Trash
Policy
|
Path |
TrashPolicyDefault.getCurrentTrashDir(Path path) |
|
long |
FileSystem.getDefaultBlockSize(Path f) |
Return the number of bytes that large input files should be optimally
be split into to minimize I/O time.
|
long |
FilterFileSystem.getDefaultBlockSize(Path f) |
|
long |
HarFileSystem.getDefaultBlockSize(Path f) |
|
short |
FileSystem.getDefaultReplication(Path path) |
Get the default replication for a path.
|
short |
FilterFileSystem.getDefaultReplication(Path f) |
|
short |
HarFileSystem.getDefaultReplication(Path f) |
|
java.util.List<Token<?>> |
FileContext.getDelegationTokens(Path p,
java.lang.String renewer) |
Get delegation tokens for the file systems accessed for a given
path.
|
Path |
AbstractFileSystem.getEnclosingRoot(Path path) |
Return path of the enclosing root for a given path
The enclosing root path is a common ancestor that should be used for temp and staging dirs
as well as within encryption zones and other restricted directories.
|
Path |
FileSystem.getEnclosingRoot(Path path) |
Return path of the enclosing root for a given path.
|
Path |
FilterFileSystem.getEnclosingRoot(Path path) |
|
Path |
FilterFs.getEnclosingRoot(Path path) |
|
abstract BlockLocation[] |
AbstractFileSystem.getFileBlockLocations(Path f,
long start,
long len) |
The specification of this method matches that of
FileContext.getFileBlockLocations(Path, long, long) except that
Path f must be for this file system. |
BlockLocation[] |
DelegateToFileSystem.getFileBlockLocations(Path f,
long start,
long len) |
|
BlockLocation[] |
FileContext.getFileBlockLocations(Path f,
long start,
long len) |
Return blockLocation of the given file for the given offset and len.
|
BlockLocation[] |
FileSystem.getFileBlockLocations(Path p,
long start,
long len) |
Return an array containing hostnames, offset and size of
portions of the given file.
|
BlockLocation[] |
FilterFs.getFileBlockLocations(Path f,
long start,
long len) |
|
abstract FileChecksum |
AbstractFileSystem.getFileChecksum(Path f) |
The specification of this method matches that of
FileContext.getFileChecksum(Path) except that Path f must be for
this file system. |
FileChecksum |
DelegateToFileSystem.getFileChecksum(Path f) |
|
FileChecksum |
FileContext.getFileChecksum(Path f) |
Get the checksum of a file.
|
FileChecksum |
FileSystem.getFileChecksum(Path f) |
Get the checksum of a file, if the FS supports checksums.
|
FileChecksum |
FileSystem.getFileChecksum(Path f,
long length) |
Get the checksum of a file, from the beginning of the file till the
specific length.
|
FileChecksum |
FilterFileSystem.getFileChecksum(Path f) |
|
FileChecksum |
FilterFileSystem.getFileChecksum(Path f,
long length) |
|
FileChecksum |
FilterFs.getFileChecksum(Path f) |
|
FileChecksum |
HarFileSystem.getFileChecksum(Path f,
long length) |
|
FileStatus |
AbstractFileSystem.getFileLinkStatus(Path f) |
The specification of this method matches that of
FileContext.getFileLinkStatus(Path)
except that an UnresolvedLinkException may be thrown if a symlink is
encountered in the path leading up to the final path component. |
FileStatus |
DelegateToFileSystem.getFileLinkStatus(Path f) |
|
FileStatus |
FileContext.getFileLinkStatus(Path f) |
Return a file status object that represents the path.
|
FileStatus |
FileSystem.getFileLinkStatus(Path f) |
|
FileStatus |
FilterFileSystem.getFileLinkStatus(Path f) |
|
FileStatus |
FilterFs.getFileLinkStatus(Path f) |
|
FileStatus |
LocalFileSystem.getFileLinkStatus(Path f) |
|
FileStatus |
RawLocalFileSystem.getFileLinkStatus(Path f) |
Return a FileStatus representing the given path.
|
abstract FileStatus |
AbstractFileSystem.getFileStatus(Path f) |
The specification of this method matches that of
FileContext.getFileStatus(Path)
except that an UnresolvedLinkException may be thrown if a symlink is
encountered in the path. |
FileStatus |
DelegateToFileSystem.getFileStatus(Path f) |
|
FileStatus |
FileContext.getFileStatus(Path f) |
Return a file status object that represents the path.
|
abstract FileStatus |
FileSystem.getFileStatus(Path f) |
Return a file status object that represents the path.
|
FileStatus |
FilterFileSystem.getFileStatus(Path f) |
Get file status.
|
FileStatus |
FilterFs.getFileStatus(Path f) |
|
FileStatus |
HarFileSystem.getFileStatus(Path f) |
return the filestatus of files in har archive.
|
FileStatus |
RawLocalFileSystem.getFileStatus(Path f) |
|
protected AbstractFileSystem |
FileContext.getFSofPath(Path absOrFqPath) |
Get the file system of supplied path.
|
protected static FileSystem |
FileSystem.getFSofPath(Path absOrFqPath,
Configuration conf) |
|
FsStatus |
AbstractFileSystem.getFsStatus(Path f) |
The specification of this method matches that of
FileContext.getFsStatus(Path) except that Path f must be for this
file system. |
FsStatus |
DelegateToFileSystem.getFsStatus(Path f) |
|
FsStatus |
FileContext.getFsStatus(Path f) |
Returns a status object describing the use and capacity of the
file system denoted by the Parh argument p.
|
FsStatus |
FilterFs.getFsStatus(Path f) |
|
static int |
HarFileSystem.getHarHash(Path p) |
the hash of the path p inside the filesystem
|
static TrashPolicy |
TrashPolicy.getInstance(Configuration conf,
FileSystem fs,
Path home) |
Deprecated.
Use
TrashPolicy.getInstance(Configuration, FileSystem) instead. |
long |
FileSystem.getLength(Path f) |
Deprecated.
Use
FileSystem.getFileStatus(Path) instead. |
Path |
AbstractFileSystem.getLinkTarget(Path f) |
Partially resolves the path.
|
Path |
DelegateToFileSystem.getLinkTarget(Path f) |
|
Path |
FileContext.getLinkTarget(Path f) |
Returns the target of the given symbolic link as it was specified
when the link was created.
|
Path |
FileSystem.getLinkTarget(Path f) |
|
Path |
FilterFileSystem.getLinkTarget(Path f) |
|
Path |
FilterFs.getLinkTarget(Path f) |
|
Path |
LocalFileSystem.getLinkTarget(Path f) |
|
Path |
RawLocalFileSystem.getLinkTarget(Path f) |
|
static Path |
Path.getPathWithoutSchemeAndAuthority(Path path) |
Return a version of the given Path without the scheme information.
|
QuotaUsage |
FileSystem.getQuotaUsage(Path f) |
Return the
QuotaUsage of a given Path. |
short |
FileSystem.getReplication(Path src) |
Deprecated.
Use
FileSystem.getFileStatus(Path) instead |
FsServerDefaults |
AbstractFileSystem.getServerDefaults(Path f) |
Return a set of server default configuration values based on path.
|
FsServerDefaults |
DelegateToFileSystem.getServerDefaults(Path f) |
|
FsServerDefaults |
FileContext.getServerDefaults(Path path) |
Return a set of server default configuration values based on path.
|
FsServerDefaults |
FileSystem.getServerDefaults(Path p) |
Return a set of server default configuration values.
|
FsServerDefaults |
FilterFileSystem.getServerDefaults(Path f) |
|
FsServerDefaults |
FilterFs.getServerDefaults(Path f) |
|
FsServerDefaults |
HarFileSystem.getServerDefaults(Path f) |
|
FsStatus |
FileSystem.getStatus(Path p) |
Returns a status object describing the use and capacity of the
filesystem.
|
FsStatus |
FilterFileSystem.getStatus(Path p) |
|
FsStatus |
HarFileSystem.getStatus(Path p) |
|
FsStatus |
RawLocalFileSystem.getStatus(Path p) |
|
BlockStoragePolicySpi |
AbstractFileSystem.getStoragePolicy(Path src) |
Retrieve the storage policy for a given file or directory.
|
BlockStoragePolicySpi |
FileContext.getStoragePolicy(Path path) |
Query the effective storage policy ID for the given file or directory.
|
BlockStoragePolicySpi |
FileSystem.getStoragePolicy(Path src) |
Query the effective storage policy ID for the given file or directory.
|
BlockStoragePolicySpi |
FilterFileSystem.getStoragePolicy(Path src) |
|
BlockStoragePolicySpi |
FilterFs.getStoragePolicy(Path src) |
|
Path |
FileSystem.getTrashRoot(Path path) |
Get the root directory of Trash for current user when the path specified
is deleted.
|
Path |
FilterFileSystem.getTrashRoot(Path path) |
|
java.lang.String |
AbstractFileSystem.getUriPath(Path p) |
Get the path-part of a pathname.
|
java.lang.String |
FilterFs.getUriPath(Path p) |
|
long |
FileSystem.getUsed(Path path) |
Return the total size of all files from a specified path.
|
long |
FilterFileSystem.getUsed(Path path) |
Return the total size of all files from a specified path.
|
long |
HarFileSystem.getUsed(Path path) |
Return the total size of all files from a specified path.
|
byte[] |
AbstractFileSystem.getXAttr(Path path,
java.lang.String name) |
Get an xattr for a file or directory.
|
byte[] |
FileContext.getXAttr(Path path,
java.lang.String name) |
Get an xattr for a file or directory.
|
byte[] |
FileSystem.getXAttr(Path path,
java.lang.String name) |
Get an xattr name and value for a file or directory.
|
byte[] |
FilterFileSystem.getXAttr(Path path,
java.lang.String name) |
|
byte[] |
FilterFs.getXAttr(Path path,
java.lang.String name) |
|
java.util.Map<java.lang.String,byte[]> |
AbstractFileSystem.getXAttrs(Path path) |
Get all of the xattrs for a file or directory.
|
java.util.Map<java.lang.String,byte[]> |
AbstractFileSystem.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
Get all of the xattrs for a file or directory.
|
java.util.Map<java.lang.String,byte[]> |
FileContext.getXAttrs(Path path) |
Get all of the xattrs for a file or directory.
|
java.util.Map<java.lang.String,byte[]> |
FileContext.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
Get all of the xattrs for a file or directory.
|
java.util.Map<java.lang.String,byte[]> |
FileSystem.getXAttrs(Path path) |
Get all of the xattr name/value pairs for a file or directory.
|
java.util.Map<java.lang.String,byte[]> |
FileSystem.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
Get all of the xattrs name/value pairs for a file or directory.
|
java.util.Map<java.lang.String,byte[]> |
FilterFileSystem.getXAttrs(Path path) |
|
java.util.Map<java.lang.String,byte[]> |
FilterFileSystem.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
|
java.util.Map<java.lang.String,byte[]> |
FilterFs.getXAttrs(Path path) |
|
java.util.Map<java.lang.String,byte[]> |
FilterFs.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
|
FileStatus[] |
FileContext.Util.globStatus(Path pathPattern) |
Return all the files that match filePattern and are not checksum
files.
|
FileStatus[] |
FileContext.Util.globStatus(Path pathPattern,
PathFilter filter) |
Return an array of FileStatus objects whose path names match pathPattern
and is accepted by the user-supplied path filter.
|
FileStatus[] |
FileSystem.globStatus(Path pathPattern) |
Return all the files that match filePattern and are not checksum
files.
|
FileStatus[] |
FileSystem.globStatus(Path pathPattern,
PathFilter filter) |
Return an array of
FileStatus objects whose path names match
pathPattern and is accepted by the user-supplied path filter. |
boolean |
RawLocalFileSystem.handleEmptyDstDirectoryOnWindows(Path src,
java.io.File srcFile,
Path dst,
java.io.File dstFile) |
|
boolean |
AbstractFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
|
boolean |
ChecksumFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
Disable those operations which the checksummed FS blocks.
|
boolean |
DelegateToFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
|
boolean |
FileContext.hasPathCapability(Path path,
java.lang.String capability) |
Return the path capabilities of the bonded
AbstractFileSystem. |
boolean |
FileSystem.hasPathCapability(Path path,
java.lang.String capability) |
The base FileSystem implementation generally has no knowledge
of the capabilities of actual implementations.
|
boolean |
FilterFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
|
boolean |
FilterFs.hasPathCapability(Path path,
java.lang.String capability) |
|
boolean |
HarFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
Declare that this filesystem connector is always read only.
|
boolean |
PathCapabilities.hasPathCapability(Path path,
java.lang.String capability) |
Probe for a specific capability under the given path.
|
boolean |
RawLocalFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
|
abstract void |
TrashPolicy.initialize(Configuration conf,
FileSystem fs,
Path home) |
Deprecated.
Use
TrashPolicy.initialize(Configuration, FileSystem) instead. |
void |
TrashPolicyDefault.initialize(Configuration conf,
FileSystem fs,
Path home) |
Deprecated.
|
static boolean |
ChecksumFileSystem.isChecksumFile(Path file) |
Return true if file is a checksum file name.
|
static boolean |
ChecksumFs.isChecksumFile(Path file) |
Return true iff file is a checksum file name.
|
boolean |
FileSystem.isDirectory(Path f) |
Deprecated.
Use
FileSystem.getFileStatus(Path) instead |
boolean |
FileSystem.isFile(Path f) |
Deprecated.
Use
FileSystem.getFileStatus(Path) instead |
boolean |
LeaseRecoverable.isFileClosed(Path file) |
Get the close status of a file.
|
RemoteIterator<Path> |
AbstractFileSystem.listCorruptFileBlocks(Path path) |
|
RemoteIterator<Path> |
FileContext.listCorruptFileBlocks(Path path) |
List CorruptFile Blocks.
|
RemoteIterator<Path> |
FileSystem.listCorruptFileBlocks(Path path) |
List corrupted file blocks.
|
RemoteIterator<Path> |
FilterFileSystem.listCorruptFileBlocks(Path path) |
|
RemoteIterator<Path> |
FilterFs.listCorruptFileBlocks(Path path) |
|
RemoteIterator<LocatedFileStatus> |
FileContext.Util.listFiles(Path f,
boolean recursive) |
List the statuses and block locations of the files in the given path.
|
RemoteIterator<LocatedFileStatus> |
FileSystem.listFiles(Path f,
boolean recursive) |
List the statuses and block locations of the files in the given path.
|
RemoteIterator<LocatedFileStatus> |
AbstractFileSystem.listLocatedStatus(Path f) |
The specification of this method matches that of
FileContext.listLocatedStatus(Path) except that Path f
must be for this file system. |
RemoteIterator<LocatedFileStatus> |
ChecksumFileSystem.listLocatedStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
RemoteIterator<LocatedFileStatus> |
ChecksumFs.listLocatedStatus(Path f) |
|
RemoteIterator<LocatedFileStatus> |
FileContext.listLocatedStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
RemoteIterator<LocatedFileStatus> |
FileSystem.listLocatedStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
protected RemoteIterator<LocatedFileStatus> |
FileSystem.listLocatedStatus(Path f,
PathFilter filter) |
List a directory.
|
RemoteIterator<LocatedFileStatus> |
FilterFileSystem.listLocatedStatus(Path f) |
List files and its block locations in a directory.
|
protected RemoteIterator<LocatedFileStatus> |
FilterFileSystem.listLocatedStatus(Path f,
PathFilter filter) |
|
RemoteIterator<LocatedFileStatus> |
FilterFs.listLocatedStatus(Path f) |
|
abstract FileStatus[] |
AbstractFileSystem.listStatus(Path f) |
The specification of this method matches that of
FileContext.Util.listStatus(Path) except that Path f must be
for this file system. |
FileStatus[] |
ChecksumFileSystem.listStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
FileStatus[] |
ChecksumFs.listStatus(Path f) |
|
FileStatus[] |
DelegateToFileSystem.listStatus(Path f) |
|
RemoteIterator<FileStatus> |
FileContext.listStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
FileStatus[] |
FileContext.Util.listStatus(Path f) |
List the statuses of the files/directories in the given path
if the path is a directory.
|
FileStatus[] |
FileContext.Util.listStatus(Path[] files) |
|
FileStatus[] |
FileContext.Util.listStatus(Path[] files,
PathFilter filter) |
Filter files/directories in the given list of paths using user-supplied
path filter.
|
FileStatus[] |
FileContext.Util.listStatus(Path f,
PathFilter filter) |
Filter files/directories in the given path using the user-supplied path
filter.
|
abstract FileStatus[] |
FileSystem.listStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
FileStatus[] |
FileSystem.listStatus(Path[] files) |
Filter files/directories in the given list of paths using default
path filter.
|
FileStatus[] |
FileSystem.listStatus(Path[] files,
PathFilter filter) |
Filter files/directories in the given list of paths using user-supplied
path filter.
|
FileStatus[] |
FileSystem.listStatus(Path f,
PathFilter filter) |
Filter files/directories in the given path using the user-supplied path
filter.
|
FileStatus[] |
FilterFileSystem.listStatus(Path f) |
List files in a directory.
|
FileStatus[] |
FilterFs.listStatus(Path f) |
|
FileStatus[] |
HarFileSystem.listStatus(Path f) |
liststatus returns the children of a directory
after looking up the index files.
|
FileStatus[] |
RawLocalFileSystem.listStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
protected FileSystem.DirectoryEntries |
FileSystem.listStatusBatch(Path f,
byte[] token) |
Given an opaque iteration token, return the next batch of entries in a
directory.
|
RemoteIterator<FileStatus> |
AbstractFileSystem.listStatusIterator(Path f) |
The specification of this method matches that of
FileContext.listStatus(Path) except that Path f must be for this
file system. |
RemoteIterator<FileStatus> |
ChecksumFileSystem.listStatusIterator(Path p) |
|
RemoteIterator<FileStatus> |
FileSystem.listStatusIterator(Path p) |
Returns a remote iterator so that followup calls are made on demand
while consuming the entries.
|
RemoteIterator<FileStatus> |
FilterFileSystem.listStatusIterator(Path f) |
Return a remote iterator for listing in a directory
|
java.util.List<java.lang.String> |
AbstractFileSystem.listXAttrs(Path path) |
Get all of the xattr names for a file or directory.
|
java.util.List<java.lang.String> |
FileContext.listXAttrs(Path path) |
Get all of the xattr names for a file or directory.
|
java.util.List<java.lang.String> |
FileSystem.listXAttrs(Path path) |
Get all of the xattr names for a file or directory.
|
java.util.List<java.lang.String> |
FilterFileSystem.listXAttrs(Path path) |
|
java.util.List<java.lang.String> |
FilterFs.listXAttrs(Path path) |
|
Path |
AbstractFileSystem.makeQualified(Path path) |
Make the path fully qualified to this file system
|
Path |
FileContext.makeQualified(Path path) |
Make the path fully qualified if it is isn't.
|
Path |
FileSystem.makeQualified(Path path) |
Qualify a path to one which uses this FileSystem and, if relative,
made absolute.
|
Path |
FilterFileSystem.makeQualified(Path path) |
Make sure that a path specifies a FileSystem.
|
Path |
FilterFs.makeQualified(Path path) |
|
Path |
HarFileSystem.makeQualified(Path path) |
|
Path |
Path.makeQualified(java.net.URI defaultUri,
Path workingDir) |
Returns a qualified path object.
|
static void |
FileUtil.maybeIgnoreMissingDirectory(FileSystem fs,
Path path,
java.io.FileNotFoundException e) |
Method to call after a FNFE has been raised on a treewalk, so as to
decide whether to throw the exception (default), or, if the FS
supports inconsistent directory listings, to log and ignore it.
|
static Path |
Path.mergePaths(Path path1,
Path path2) |
Merge 2 paths such that the second path is appended relative to the first.
|
abstract void |
AbstractFileSystem.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
The specification of this method matches that of
FileContext.mkdir(Path, FsPermission, boolean) except that the Path
f must be fully qualified and the permission is absolute (i.e. |
void |
DelegateToFileSystem.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
|
void |
FileContext.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
Make(create) a directory and all the non-existent parents.
|
void |
FilterFs.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
|
boolean |
ChecksumFileSystem.mkdirs(Path f) |
|
static boolean |
FileSystem.mkdirs(FileSystem fs,
Path dir,
FsPermission permission) |
Create a directory with the provided permission.
|
boolean |
FileSystem.mkdirs(Path f) |
Call
FileSystem.mkdirs(Path, FsPermission) with default permission. |
abstract boolean |
FileSystem.mkdirs(Path f,
FsPermission permission) |
Make the given file and all non-existent parents into
directories.
|
boolean |
FilterFileSystem.mkdirs(Path f) |
|
boolean |
FilterFileSystem.mkdirs(Path f,
FsPermission permission) |
|
boolean |
HarFileSystem.mkdirs(Path f,
FsPermission permission) |
not implemented.
|
boolean |
RawLocalFileSystem.mkdirs(Path f) |
Creates the specified directory hierarchy.
|
boolean |
RawLocalFileSystem.mkdirs(Path f,
FsPermission permission) |
|
java.lang.String |
FileSystem.mkdirsFid(Path p) |
|
protected boolean |
RawLocalFileSystem.mkOneDirWithMode(Path p,
java.io.File p2f,
FsPermission permission) |
|
void |
AbstractFileSystem.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
Modifies ACL entries of files and directories.
|
void |
ChecksumFileSystem.modifyAclEntries(Path src,
java.util.List<AclEntry> aclSpec) |
|
void |
FileContext.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
Modifies ACL entries of files and directories.
|
void |
FileSystem.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
Modifies ACL entries of files and directories.
|
void |
FilterFileSystem.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
FilterFs.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
FileSystem.moveFromLocalFile(Path[] srcs,
Path dst) |
The src files is on the local disk.
|
void |
FileSystem.moveFromLocalFile(Path src,
Path dst) |
The src file is on the local disk.
|
void |
RawLocalFileSystem.moveFromLocalFile(Path src,
Path dst) |
|
static boolean |
Trash.moveToAppropriateTrash(FileSystem fs,
Path p,
Configuration conf) |
In case of the symlinks or mount points, one has to move the appropriate
trashbin in the actual volume of the path p being deleted.
|
void |
FileSystem.moveToLocalFile(Path src,
Path dst) |
Copy a file to the local filesystem, then delete it from the
remote filesystem (if successfully copied).
|
boolean |
Trash.moveToTrash(Path path) |
Move a file or directory to the current trash directory.
|
abstract boolean |
TrashPolicy.moveToTrash(Path path) |
Move a file or directory to the current trash directory.
|
boolean |
TrashPolicyDefault.moveToTrash(Path path) |
|
abstract T |
FileSystemLinkResolver.next(FileSystem fs,
Path p) |
Calls the abstract FileSystem call equivalent to the specialized subclass
implementation in
FileSystemLinkResolver.doCall(Path). |
abstract T |
FSLinkResolver.next(AbstractFileSystem fs,
Path p) |
Generic helper function overridden on instantiation to perform a
specific operation on the given file system using the given path
which may result in an UnresolvedLinkException.
|
FSDataInputStream |
AbstractFileSystem.open(Path f) |
The specification of this method matches that of
FileContext.open(Path) except that Path f must be for this
file system. |
abstract FSDataInputStream |
AbstractFileSystem.open(Path f,
int bufferSize) |
The specification of this method matches that of
FileContext.open(Path, int) except that Path f must be for this
file system. |
FSDataInputStream |
ChecksumFileSystem.open(Path f,
int bufferSize) |
Opens an FSDataInputStream at the indicated Path.
|
FSDataInputStream |
ChecksumFs.open(Path f,
int bufferSize) |
Opens an FSDataInputStream at the indicated Path.
|
FSDataInputStream |
DelegateToFileSystem.open(Path f,
int bufferSize) |
|
FSDataInputStream |
FileContext.open(Path f) |
Opens an FSDataInputStream at the indicated Path using
default buffersize.
|
FSDataInputStream |
FileContext.open(Path f,
int bufferSize) |
Opens an FSDataInputStream at the indicated Path.
|
FSDataInputStream |
FileSystem.open(Path f) |
Opens an FSDataInputStream at the indicated Path.
|
abstract FSDataInputStream |
FileSystem.open(Path f,
int bufferSize) |
Opens an FSDataInputStream at the indicated Path.
|
FSDataInputStream |
FilterFileSystem.open(Path f,
int bufferSize) |
Opens an FSDataInputStream at the indicated Path.
|
FSDataInputStream |
FilterFs.open(Path f) |
|
FSDataInputStream |
FilterFs.open(Path f,
int bufferSize) |
|
FSDataInputStream |
HarFileSystem.open(Path f,
int bufferSize) |
Returns a har input stream which fakes end of
file.
|
FSDataInputStream |
RawLocalFileSystem.open(Path f,
int bufferSize) |
|
FutureDataInputStreamBuilder |
ChecksumFileSystem.openFile(Path path) |
This is overridden to ensure that this class's
ChecksumFileSystem.openFileWithOptions(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.impl.OpenFileParameters)() method is called, and so ultimately
its ChecksumFileSystem.open(Path, int). |
FutureDataInputStreamBuilder |
FileContext.openFile(Path path) |
Open a file for reading through a builder API.
|
FutureDataInputStreamBuilder |
FileSystem.openFile(Path path) |
Open a file for reading through a builder API.
|
FutureDataInputStreamBuilder |
FilterFileSystem.openFile(Path path) |
|
java.util.concurrent.CompletableFuture<FSDataInputStream> |
AbstractFileSystem.openFileWithOptions(Path path,
OpenFileParameters parameters) |
Open a file with the given set of options.
|
protected java.util.concurrent.CompletableFuture<FSDataInputStream> |
ChecksumFileSystem.openFileWithOptions(Path path,
OpenFileParameters parameters) |
Open the file as a blocking call to
ChecksumFileSystem.open(Path, int). |
java.util.concurrent.CompletableFuture<FSDataInputStream> |
DelegateToFileSystem.openFileWithOptions(Path path,
OpenFileParameters parameters) |
Open a file by delegating to
FileSystem.openFileWithOptions(Path, org.apache.hadoop.fs.impl.OpenFileParameters). |
protected java.util.concurrent.CompletableFuture<FSDataInputStream> |
FileSystem.openFileWithOptions(Path path,
OpenFileParameters parameters) |
Execute the actual open file operation.
|
protected java.util.concurrent.CompletableFuture<FSDataInputStream> |
FilterFileSystem.openFileWithOptions(Path path,
OpenFileParameters parameters) |
|
java.util.concurrent.CompletableFuture<FSDataInputStream> |
FilterFs.openFileWithOptions(Path path,
OpenFileParameters parameters) |
|
java.io.File |
LocalFileSystem.pathToFile(Path path) |
Convert a path to a File.
|
java.io.File |
RawLocalFileSystem.pathToFile(Path path) |
Convert a path to a File.
|
protected FSDataOutputStream |
FileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
java.util.EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
Deprecated.
|
protected FSDataOutputStream |
FilterFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
java.util.EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
protected boolean |
FileSystem.primitiveMkdir(Path f,
FsPermission absolutePermission) |
Deprecated.
|
protected void |
FileSystem.primitiveMkdir(Path f,
FsPermission absolutePermission,
boolean createParent) |
Deprecated.
|
protected boolean |
FilterFileSystem.primitiveMkdir(Path f,
FsPermission abdolutePermission) |
|
java.util.concurrent.CompletableFuture<PartHandle> |
MultipartUploader.putPart(UploadHandle uploadId,
int partNumber,
Path filePath,
java.io.InputStream inputStream,
long lengthInBytes) |
Put part as part of a multipart upload.
|
static Path |
FSLinkResolver.qualifySymlinkTarget(java.net.URI pathURI,
Path pathWithLink,
Path target) |
Return a fully-qualified version of the given symlink target if it
has no scheme and authority.
|
boolean |
LeaseRecoverable.recoverLease(Path file) |
Start the lease recovery of a file.
|
void |
AbstractFileSystem.removeAcl(Path path) |
Removes all but the base ACL entries of files and directories.
|
void |
ChecksumFileSystem.removeAcl(Path src) |
|
void |
FileContext.removeAcl(Path path) |
Removes all but the base ACL entries of files and directories.
|
void |
FileSystem.removeAcl(Path path) |
Removes all but the base ACL entries of files and directories.
|
void |
FilterFileSystem.removeAcl(Path path) |
|
void |
FilterFs.removeAcl(Path path) |
|
void |
AbstractFileSystem.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
Removes ACL entries from files and directories.
|
void |
ChecksumFileSystem.removeAclEntries(Path src,
java.util.List<AclEntry> aclSpec) |
|
void |
FileContext.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
Removes ACL entries from files and directories.
|
void |
FileSystem.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
Removes ACL entries from files and directories.
|
void |
FilterFileSystem.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
FilterFs.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
AbstractFileSystem.removeDefaultAcl(Path path) |
Removes all default ACL entries from files and directories.
|
void |
ChecksumFileSystem.removeDefaultAcl(Path src) |
|
void |
FileContext.removeDefaultAcl(Path path) |
Removes all default ACL entries from files and directories.
|
void |
FileSystem.removeDefaultAcl(Path path) |
Removes all default ACL entries from files and directories.
|
void |
FilterFileSystem.removeDefaultAcl(Path path) |
|
void |
FilterFs.removeDefaultAcl(Path path) |
|
void |
AbstractFileSystem.removeXAttr(Path path,
java.lang.String name) |
Remove an xattr of a file or directory.
|
void |
FileContext.removeXAttr(Path path,
java.lang.String name) |
Remove an xattr of a file or directory.
|
void |
FileSystem.removeXAttr(Path path,
java.lang.String name) |
Remove an xattr of a file or directory.
|
void |
FilterFileSystem.removeXAttr(Path path,
java.lang.String name) |
|
void |
FilterFs.removeXAttr(Path path,
java.lang.String name) |
|
void |
AbstractFileSystem.rename(Path src,
Path dst,
Options.Rename... options) |
The specification of this method matches that of
FileContext.rename(Path, Path, Options.Rename...) except that Path
f must be for this file system. |
boolean |
ChecksumFileSystem.rename(Path src,
Path dst) |
Rename files/dirs
|
void |
FileContext.rename(Path src,
Path dst,
Options.Rename... options) |
Renames Path src to Path dst
Fails if src is a file and dst is a directory.
|
abstract boolean |
FileSystem.rename(Path src,
Path dst) |
Renames Path src to Path dst.
|
protected void |
FileSystem.rename(Path src,
Path dst,
Options.Rename... options) |
Deprecated.
|
static void |
FileUtil.rename(FileSystem srcFs,
Path src,
Path dst,
Options.Rename... options) |
|
boolean |
FilterFileSystem.rename(Path src,
Path dst) |
Renames Path src to Path dst.
|
protected void |
FilterFileSystem.rename(Path src,
Path dst,
Options.Rename... options) |
|
boolean |
HarFileSystem.rename(Path src,
Path dst) |
|
void |
InternalOperations.rename(FileSystem fs,
Path src,
Path dst,
Options.Rename... options) |
|
boolean |
RawLocalFileSystem.rename(Path src,
Path dst) |
|
abstract void |
AbstractFileSystem.renameInternal(Path src,
Path dst) |
The specification of this method matches that of
FileContext.rename(Path, Path, Options.Rename...) except that Path
f must be for this file system and NO OVERWRITE is performed. |
void |
AbstractFileSystem.renameInternal(Path src,
Path dst,
boolean overwrite) |
The specification of this method matches that of
FileContext.rename(Path, Path, Options.Rename...) except that Path
f must be for this file system. |
void |
ChecksumFs.renameInternal(Path src,
Path dst) |
Rename files/dirs.
|
void |
ChecksumFs.renameInternal(Path src,
Path dst,
boolean overwrite) |
|
void |
DelegateToFileSystem.renameInternal(Path src,
Path dst) |
|
void |
FilterFs.renameInternal(Path src,
Path dst) |
|
void |
FilterFs.renameInternal(Path src,
Path dst,
boolean overwrite) |
|
void |
AbstractFileSystem.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
The specification of this method matches that of
FileContext.renameSnapshot(Path, String, String). |
void |
FileContext.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
Rename a snapshot.
|
void |
FileSystem.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
Rename a snapshot.
|
void |
FilterFileSystem.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
|
void |
FilterFs.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
|
boolean |
ChecksumFileSystem.reportChecksumFailure(Path f,
FSDataInputStream in,
long inPos,
FSDataInputStream sums,
long sumsPos) |
Report a checksum error to the file system.
|
boolean |
ChecksumFs.reportChecksumFailure(Path f,
FSDataInputStream in,
long inPos,
FSDataInputStream sums,
long sumsPos) |
Report a checksum error to the file system.
|
boolean |
LocalFileSystem.reportChecksumFailure(Path p,
FSDataInputStream in,
long inPos,
FSDataInputStream sums,
long sumsPos) |
Moves files to a bad file directory on the same device, so that their
storage will not be reused.
|
protected Path |
FileContext.resolve(Path f) |
Resolves all symbolic links in the specified path.
|
T |
FileSystemLinkResolver.resolve(FileSystem filesys,
Path path) |
Attempt calling overridden
FileSystemLinkResolver.doCall(Path) method with
specified FileSystem and Path. |
T |
FSLinkResolver.resolve(FileContext fc,
Path path) |
Performs the operation specified by the next function, calling it
repeatedly until all symlinks in the given path are resolved.
|
protected Path |
FileContext.resolveIntermediate(Path f) |
Resolves all symbolic links in the specified path leading up
to, but not including the final path component.
|
protected Path |
FileSystem.resolveLink(Path f) |
|
protected Path |
FilterFileSystem.resolveLink(Path f) |
|
Path |
AbstractFileSystem.resolvePath(Path p) |
Return the fully-qualified path of path f resolving the path
through any internal symlinks or mount point
|
Path |
FileContext.resolvePath(Path f) |
Resolve the path following any symlinks or mount points
|
Path |
FileSystem.resolvePath(Path p) |
Return the fully-qualified path of path, resolving the path
through any symlinks or mount point.
|
Path |
FilterFileSystem.resolvePath(Path p) |
|
Path |
FilterFs.resolvePath(Path p) |
|
Path |
HarFileSystem.resolvePath(Path p) |
|
void |
AbstractFileSystem.satisfyStoragePolicy(Path path) |
Set the source path to satisfy storage policy.
|
void |
FileContext.satisfyStoragePolicy(Path path) |
Set the source path to satisfy storage policy.
|
void |
FileSystem.satisfyStoragePolicy(Path path) |
Set the source path to satisfy storage policy.
|
void |
FilterFileSystem.satisfyStoragePolicy(Path src) |
|
void |
FilterFs.satisfyStoragePolicy(Path path) |
|
void |
AbstractFileSystem.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
ChecksumFileSystem.setAcl(Path src,
java.util.List<AclEntry> aclSpec) |
|
void |
FileContext.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
FileSystem.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
FilterFileSystem.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
FilterFs.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
|
abstract void |
AbstractFileSystem.setOwner(Path f,
java.lang.String username,
java.lang.String groupname) |
The specification of this method matches that of
FileContext.setOwner(Path, String, String) except that Path f must
be for this file system. |
void |
ChecksumFileSystem.setOwner(Path src,
java.lang.String username,
java.lang.String groupname) |
|
void |
DelegateToFileSystem.setOwner(Path f,
java.lang.String username,
java.lang.String groupname) |
|
void |
FileContext.setOwner(Path f,
java.lang.String username,
java.lang.String groupname) |
Set owner of a path (i.e.
|
void |
FileSystem.setOwner(Path p,
java.lang.String username,
java.lang.String groupname) |
Set owner of a path (i.e.
|
void |
FilterFileSystem.setOwner(Path p,
java.lang.String username,
java.lang.String groupname) |
|
void |
FilterFs.setOwner(Path f,
java.lang.String username,
java.lang.String groupname) |
|
void |
HarFileSystem.setOwner(Path p,
java.lang.String username,
java.lang.String groupname) |
not implemented.
|
void |
RawLocalFileSystem.setOwner(Path p,
java.lang.String username,
java.lang.String groupname) |
Use the command chown to set owner.
|
void |
FileStatus.setPath(Path p) |
|
abstract void |
AbstractFileSystem.setPermission(Path f,
FsPermission permission) |
The specification of this method matches that of
FileContext.setPermission(Path, FsPermission) except that Path f
must be for this file system. |
void |
ChecksumFileSystem.setPermission(Path src,
FsPermission permission) |
|
void |
DelegateToFileSystem.setPermission(Path f,
FsPermission permission) |
|
void |
FileContext.setPermission(Path f,
FsPermission permission) |
Set permission of a path.
|
void |
FileSystem.setPermission(Path p,
FsPermission permission) |
Set permission of a path.
|
void |
FilterFileSystem.setPermission(Path p,
FsPermission permission) |
|
void |
FilterFs.setPermission(Path f,
FsPermission permission) |
|
void |
HarFileSystem.setPermission(Path p,
FsPermission permission) |
Not implemented.
|
void |
RawLocalFileSystem.setPermission(Path p,
FsPermission permission) |
Use the command chmod to set permission.
|
void |
FileSystem.setQuota(Path src,
long namespaceQuota,
long storagespaceQuota) |
Set quota for the given
Path. |
void |
FileSystem.setQuotaByStorageType(Path src,
StorageType type,
long quota) |
Set per storage type quota for the given
Path. |
abstract boolean |
AbstractFileSystem.setReplication(Path f,
short replication) |
The specification of this method matches that of
FileContext.setReplication(Path, short) except that Path f must be
for this file system. |
boolean |
ChecksumFileSystem.setReplication(Path src,
short replication) |
Set replication for an existing file.
|
boolean |
ChecksumFs.setReplication(Path src,
short replication) |
Set replication for an existing file.
|
boolean |
DelegateToFileSystem.setReplication(Path f,
short replication) |
|
boolean |
FileContext.setReplication(Path f,
short replication) |
Set replication for an existing file.
|
boolean |
FileSystem.setReplication(Path src,
short replication) |
Set the replication for an existing file.
|
boolean |
FilterFileSystem.setReplication(Path src,
short replication) |
Set replication for an existing file.
|
boolean |
FilterFs.setReplication(Path f,
short replication) |
|
boolean |
HarFileSystem.setReplication(Path src,
short replication) |
Not implemented.
|
void |
AbstractFileSystem.setStoragePolicy(Path path,
java.lang.String policyName) |
Set the storage policy for a given file or directory.
|
void |
FileContext.setStoragePolicy(Path path,
java.lang.String policyName) |
Set the storage policy for a given file or directory.
|
void |
FileSystem.setStoragePolicy(Path src,
java.lang.String policyName) |
Set the storage policy for a given file or directory.
|
void |
FilterFileSystem.setStoragePolicy(Path src,
java.lang.String policyName) |
|
void |
FilterFs.setStoragePolicy(Path path,
java.lang.String policyName) |
|
void |
FileStatus.setSymlink(Path p) |
|
abstract void |
AbstractFileSystem.setTimes(Path f,
long mtime,
long atime) |
The specification of this method matches that of
FileContext.setTimes(Path, long, long) except that Path f must be
for this file system. |
void |
DelegateToFileSystem.setTimes(Path f,
long mtime,
long atime) |
|
void |
FileContext.setTimes(Path f,
long mtime,
long atime) |
Set access time of a file.
|
void |
FileSystem.setTimes(Path p,
long mtime,
long atime) |
Set access time of a file.
|
void |
FilterFileSystem.setTimes(Path p,
long mtime,
long atime) |
|
void |
FilterFs.setTimes(Path f,
long mtime,
long atime) |
|
void |
HarFileSystem.setTimes(Path p,
long mtime,
long atime) |
|
void |
RawLocalFileSystem.setTimes(Path p,
long mtime,
long atime) |
Sets the
Path's last modified time and last access time to
the given valid times. |
void |
FileContext.setVerifyChecksum(boolean verifyChecksum,
Path f) |
Set the verify checksum flag for the file system denoted by the path.
|
void |
FileContext.setWorkingDirectory(Path newWDir) |
Set the working directory for wd-relative names (such a "foo/bar").
|
abstract void |
FileSystem.setWorkingDirectory(Path new_dir) |
Set the current working directory for the given FileSystem.
|
void |
FilterFileSystem.setWorkingDirectory(Path newDir) |
Set the current working directory for the given file system.
|
void |
HarFileSystem.setWorkingDirectory(Path newDir) |
|
void |
RawLocalFileSystem.setWorkingDirectory(Path newDir) |
Set the working directory to the given directory.
|
void |
AbstractFileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value) |
Set an xattr of a file or directory.
|
void |
AbstractFileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
Set an xattr of a file or directory.
|
void |
FileContext.setXAttr(Path path,
java.lang.String name,
byte[] value) |
Set an xattr of a file or directory.
|
void |
FileContext.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
Set an xattr of a file or directory.
|
void |
FileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value) |
Set an xattr of a file or directory.
|
void |
FileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
Set an xattr of a file or directory.
|
void |
FilterFileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value) |
|
void |
FilterFileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
|
void |
FilterFs.setXAttr(Path path,
java.lang.String name,
byte[] value) |
|
void |
FilterFs.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
|
Path |
ChecksumFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
|
Path |
FileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Returns a local file that the user can write output to.
|
Path |
FilterFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Returns a local File that the user can write output to.
|
Path |
HarFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
not implemented.
|
Path |
RawLocalFileSystem.startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
|
java.util.concurrent.CompletableFuture<UploadHandle> |
MultipartUploader.startUpload(Path filePath) |
Initialize a multipart upload.
|
static Path[] |
FileUtil.stat2Paths(FileStatus[] stats,
Path path) |
convert an array of FileStatus to an array of Path.
|
boolean |
AbstractFileSystem.truncate(Path f,
long newLength) |
The specification of this method matches that of
FileContext.truncate(Path, long) except that Path f must be for
this file system. |
boolean |
ChecksumFileSystem.truncate(Path f,
long newLength) |
|
boolean |
ChecksumFs.truncate(Path f,
long newLength) |
|
boolean |
DelegateToFileSystem.truncate(Path f,
long newLength) |
|
boolean |
FileContext.truncate(Path f,
long newLength) |
Truncate the file in the indicated path to the indicated size.
|
boolean |
FileSystem.truncate(Path f,
long newLength) |
Truncate the file in the indicated path to the indicated size.
|
boolean |
FilterFileSystem.truncate(Path f,
long newLength) |
|
boolean |
FilterFs.truncate(Path f,
long newLength) |
|
boolean |
HarFileSystem.truncate(Path f,
long newLength) |
Not implemented.
|
boolean |
RawLocalFileSystem.truncate(Path f,
long newLength) |
|
void |
AbstractFileSystem.unsetStoragePolicy(Path src) |
Unset the storage policy set for a given file or directory.
|
void |
FileContext.unsetStoragePolicy(Path src) |
Unset the storage policy set for a given file or directory.
|
void |
FileSystem.unsetStoragePolicy(Path src) |
Unset the storage policy set for a given file or directory.
|
void |
FilterFileSystem.unsetStoragePolicy(Path src) |
|
void |
FilterFs.unsetStoragePolicy(Path src) |
|
static void |
BulkDeleteUtils.validateBulkDeletePaths(java.util.Collection<Path> paths,
int pageSize,
Path basePath) |
Preconditions for bulk delete paths.
|
static boolean |
BulkDeleteUtils.validatePathIsUnderParent(Path p,
Path basePath) |
Check if a given path is the base path or under the base path.
|
Globber.GlobBuilder |
Globber.GlobBuilder.withPathPattern(Path pattern) |
Set the path pattern.
|
static FileContext |
FileUtil.write(FileContext fileContext,
Path path,
byte[] bytes) |
Writes bytes to a file.
|
static FileContext |
FileUtil.write(FileContext fileContext,
Path path,
java.lang.CharSequence charseq) |
Write a line of text to a file.
|
static FileContext |
FileUtil.write(FileContext fs,
Path path,
java.lang.CharSequence charseq,
java.nio.charset.Charset cs) |
Write a line of text to a file.
|
static FileContext |
FileUtil.write(FileContext fileContext,
Path path,
java.lang.Iterable<? extends java.lang.CharSequence> lines,
java.nio.charset.Charset cs) |
Write lines of text to a file.
|
static FileSystem |
FileUtil.write(FileSystem fs,
Path path,
byte[] bytes) |
Writes bytes to a file.
|
static FileSystem |
FileUtil.write(FileSystem fs,
Path path,
java.lang.CharSequence charseq) |
Write a line of text to a file.
|
static FileSystem |
FileUtil.write(FileSystem fs,
Path path,
java.lang.CharSequence charseq,
java.nio.charset.Charset cs) |
Write a line of text to a file.
|
static FileSystem |
FileUtil.write(FileSystem fs,
Path path,
java.lang.Iterable<? extends java.lang.CharSequence> lines,
java.nio.charset.Charset cs) |
Write lines of text to a file.
|
| Modifier and Type | Method | Description |
|---|---|---|
RemoteIterator<PartialListing<LocatedFileStatus>> |
BatchListingOperations.batchedListLocatedStatusIterator(java.util.List<Path> paths) |
Batched listing API that returns
PartialListings for the passed
Paths. |
RemoteIterator<PartialListing<FileStatus>> |
BatchListingOperations.batchedListStatusIterator(java.util.List<Path> paths) |
Batched listing API that returns
PartialListings for the
passed Paths. |
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
BulkDelete.bulkDelete(java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
static void |
BulkDeleteUtils.validateBulkDeletePaths(java.util.Collection<Path> paths,
int pageSize,
Path basePath) |
Preconditions for bulk delete paths.
|
| Constructor | Description |
|---|---|
AvroFSInput(FileContext fc,
Path p) |
Construct given a
FileContext and a Path. |
FileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path path) |
Constructor for file systems on which symbolic links are not supported
|
FileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path symlink,
Path path) |
|
FileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path symlink,
Path path,
boolean hasAcl,
boolean isEncrypted,
boolean isErasureCoded) |
|
FileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path symlink,
Path path,
java.util.Set<FileStatus.AttrFlags> attr) |
|
FileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
Path path) |
|
FSDataOutputStreamBuilder(FileSystem fileSystem,
Path p) |
Constructor.
|
FSInputChecker(Path file,
int numOfRetries) |
Constructor
|
FSInputChecker(Path file,
int numOfRetries,
boolean verifyChecksum,
java.util.zip.Checksum sum,
int chunkSize,
int checksumSize) |
Constructor
|
LocatedFileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path symlink,
Path path,
boolean hasAcl,
boolean isEncrypted,
boolean isErasureCoded,
BlockLocation[] locations) |
Constructor.
|
LocatedFileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path symlink,
Path path,
java.util.Set<FileStatus.AttrFlags> attr,
BlockLocation[] locations) |
Constructor.
|
LocatedFileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
java.lang.String owner,
java.lang.String group,
Path symlink,
Path path,
BlockLocation[] locations) |
Deprecated.
|
PartialListing(Path listedPath,
java.util.List<T> partialListing) |
|
PartialListing(Path listedPath,
RemoteException exception) |
|
Path(java.lang.String parent,
Path child) |
Create a new Path based on the child path resolved against the parent path.
|
Path(Path parent,
java.lang.String child) |
Create a new Path based on the child path resolved against the parent path.
|
Path(Path parent,
Path child) |
Create a new Path based on the child path resolved against the parent path.
|
Stat(Path path,
long blockSize,
boolean deref,
FileSystem fs) |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
FTPFileSystem.getHomeDirectory() |
|
Path |
FTPFileSystem.getWorkingDirectory() |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
FTPFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
This optional operation is not yet supported.
|
FSDataOutputStream |
FTPFileSystem.create(Path file,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
A stream obtained via this call must be closed before using other APIs of
this class or else the invocation will block.
|
boolean |
FTPFileSystem.delete(Path file,
boolean recursive) |
|
FileStatus |
FTPFileSystem.getFileStatus(Path file) |
|
FsServerDefaults |
FtpFs.getServerDefaults(Path f) |
|
FileStatus[] |
FTPFileSystem.listStatus(Path file) |
|
boolean |
FTPFileSystem.mkdirs(Path file,
FsPermission permission) |
|
FSDataInputStream |
FTPFileSystem.open(Path file,
int bufferSize) |
|
boolean |
FTPFileSystem.rename(Path src,
Path dst) |
|
void |
FTPFileSystem.setWorkingDirectory(Path newDir) |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
DefaultBulkDeleteOperation.basePath() |
|
protected Path |
AbstractMultipartUploader.getBasePath() |
|
Path |
AbstractFSBuilderImpl.getPath() |
Get the path: only valid if constructed with a path.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
DefaultBulkDeleteOperation.bulkDelete(java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
java.util.Optional<Path> |
AbstractFSBuilderImpl.getOptionalPath() |
Get the optional path; may be empty.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
FileSystemMultipartUploader.abort(UploadHandle uploadId,
Path filePath) |
|
java.util.concurrent.CompletableFuture<java.lang.Integer> |
AbstractMultipartUploader.abortUploadsUnderPath(Path path) |
Best effort attempt to aborts multipart uploads under a path.
|
T |
FsLinkResolution.FsLinkResolutionFunction.apply(AbstractFileSystem fs,
Path path) |
|
protected void |
AbstractMultipartUploader.checkPath(Path path) |
Validate a path.
|
protected void |
AbstractMultipartUploader.checkPutArguments(Path filePath,
java.io.InputStream inputStream,
int partNumber,
UploadHandle uploadId,
long lengthInBytes) |
Check all the arguments to the
MultipartUploader.putPart(UploadHandle, int, Path, InputStream, long)
operation. |
java.util.concurrent.CompletableFuture<PathHandle> |
FileSystemMultipartUploader.complete(UploadHandle uploadId,
Path filePath,
java.util.Map<java.lang.Integer,PartHandle> handleMap) |
|
T |
FsLinkResolution.next(AbstractFileSystem fs,
Path p) |
|
java.util.concurrent.CompletableFuture<PartHandle> |
FileSystemMultipartUploader.putPart(UploadHandle uploadId,
int partNumber,
Path filePath,
java.io.InputStream inputStream,
long lengthInBytes) |
|
static <T> T |
FsLinkResolution.resolve(FileContext fileContext,
Path path,
FsLinkResolution.FsLinkResolutionFunction<T> fn) |
Apply the given function to the resolved path under the the supplied
FileContext.
|
java.util.concurrent.CompletableFuture<UploadHandle> |
FileSystemMultipartUploader.startUpload(Path filePath) |
|
static java.lang.String |
PathCapabilitiesSupport.validatePathCapabilityArgs(Path path,
java.lang.String capability) |
Validate the arguments to
PathCapabilities.hasPathCapability(Path, String). |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
DefaultBulkDeleteOperation.bulkDelete(java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
| Constructor | Description |
|---|---|
AbstractFSBuilderImpl(Path path) |
|
AbstractMultipartUploader(Path basePath) |
Instantiate.
|
DefaultBulkDeleteOperation(Path basePath,
FileSystem fs) |
|
FileSystemMultipartUploaderBuilder(FileSystem fileSystem,
Path path) |
|
FutureDataInputStreamBuilderImpl(FileContext fc,
Path path) |
Construct from a
FileContext. |
FutureDataInputStreamBuilderImpl(FileSystem fileSystem,
Path path) |
Constructor.
|
MultipartUploaderBuilderImpl(FileContext fc,
Path p) |
Construct from a
FileContext. |
MultipartUploaderBuilderImpl(FileSystem fileSystem,
Path p) |
Constructor.
|
| Constructor | Description |
|---|---|
AbstractFSBuilderImpl(java.util.Optional<Path> optionalPath,
java.util.Optional<PathHandle> optionalPathHandle) |
Constructor with both optional path and path handle.
|
| Modifier and Type | Method | Description |
|---|---|---|
FsServerDefaults |
RawLocalFs.getServerDefaults(Path f) |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
SFTPFileSystem.getHomeDirectory() |
|
Path |
SFTPFileSystem.getWorkingDirectory() |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
SFTPFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
SFTPFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
A stream obtained via this call must be closed before using other APIs of
this class or else the invocation will block.
|
boolean |
SFTPFileSystem.delete(Path f,
boolean recursive) |
|
FileStatus |
SFTPFileSystem.getFileStatus(Path f) |
|
FileStatus[] |
SFTPFileSystem.listStatus(Path f) |
|
boolean |
SFTPFileSystem.mkdirs(Path f,
FsPermission permission) |
|
FSDataInputStream |
SFTPFileSystem.open(Path f,
int bufferSize) |
|
boolean |
SFTPFileSystem.rename(Path src,
Path dst) |
|
void |
SFTPFileSystem.setWorkingDirectory(Path newDir) |
| Modifier and Type | Field | Description |
|---|---|---|
Path |
PathData.path |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract void |
Command.run(Path path) |
Execute the command on the input path
|
protected void |
FsCommand.run(Path path) |
| Modifier and Type | Method | Description |
|---|---|---|
protected Path |
BaseExpression.getPath(PathData item) |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
ViewFileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
|
Path |
ViewFs.createSnapshot(Path path,
java.lang.String snapshotName) |
|
Path |
ViewFileSystem.getEnclosingRoot(Path path) |
|
Path |
ViewFileSystem.getHomeDirectory() |
|
Path |
ViewFs.getHomeDirectory() |
|
Path |
ViewFileSystem.getLinkTarget(Path path) |
|
Path |
ViewFs.getLinkTarget(Path f) |
|
Path |
ViewFileSystem.MountPoint.getMountedOnPath() |
|
Path |
ViewFileSystemOverloadScheme.MountPathInfo.getPathOnTarget() |
|
Path |
InodeTree.INodeLink.getTargetLink() |
Get the target of the link.
|
Path |
ViewFileSystem.getTrashRoot(Path path) |
Get the trash root directory for current user when the path
specified is deleted.
|
Path |
ViewFileSystem.getWorkingDirectory() |
|
Path |
ViewFileSystem.resolvePath(Path f) |
|
Path |
ViewFs.resolvePath(Path f) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ViewFileSystem.access(Path path,
FsAction mode) |
|
void |
ViewFs.access(Path path,
FsAction mode) |
|
FSDataOutputStream |
ViewFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
protected InodeTree.ResolveResult<T> |
InodeTree.buildResolveResultForRegexMountPoint(org.apache.hadoop.fs.viewfs.InodeTree.ResultKind resultKind,
java.lang.String resolvedPathStr,
java.lang.String targetOfResolvedPathStr,
Path remainingPath) |
Build resolve result.
|
FSDataOutputStream |
ViewFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
ViewFs.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
ViewFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
Path |
ViewFileSystem.createSnapshot(Path path,
java.lang.String snapshotName) |
|
Path |
ViewFs.createSnapshot(Path path,
java.lang.String snapshotName) |
|
void |
ViewFs.createSymlink(Path target,
Path link,
boolean createParent) |
|
boolean |
ViewFileSystem.delete(Path f) |
|
boolean |
ViewFileSystem.delete(Path f,
boolean recursive) |
|
boolean |
ViewFs.delete(Path f,
boolean recursive) |
|
void |
ViewFileSystem.deleteSnapshot(Path path,
java.lang.String snapshotName) |
|
void |
ViewFs.deleteSnapshot(Path path,
java.lang.String snapshotName) |
|
AclStatus |
ViewFileSystem.getAclStatus(Path path) |
|
AclStatus |
ViewFs.getAclStatus(Path path) |
|
ContentSummary |
ViewFileSystem.getContentSummary(Path f) |
|
long |
ViewFileSystem.getDefaultBlockSize(Path f) |
|
short |
ViewFileSystem.getDefaultReplication(Path f) |
|
Path |
ViewFileSystem.getEnclosingRoot(Path path) |
|
BlockLocation[] |
ViewFs.getFileBlockLocations(Path f,
long start,
long len) |
|
FileChecksum |
ViewFileSystem.getFileChecksum(Path f) |
|
FileChecksum |
ViewFileSystem.getFileChecksum(Path f,
long length) |
|
FileChecksum |
ViewFs.getFileChecksum(Path f) |
|
FileStatus |
ViewFs.getFileLinkStatus(Path f) |
|
FileStatus |
ViewFileSystem.getFileStatus(Path f) |
Return a file status object that represents the path.
|
FileStatus |
ViewFs.getFileStatus(Path f) |
The specification of this method matches that of
FileContext.getFileStatus(Path)
except that an UnresolvedLinkException may be thrown if a symlink is
encountered in the path. |
Path |
ViewFileSystem.getLinkTarget(Path path) |
|
Path |
ViewFs.getLinkTarget(Path f) |
|
ViewFileSystemOverloadScheme.MountPathInfo<FileSystem> |
ViewFileSystemOverloadScheme.getMountPathInfo(Path path,
Configuration conf) |
Gets the mount path info, which contains the target file system and
remaining path to pass to the target file system.
|
QuotaUsage |
ViewFileSystem.getQuotaUsage(Path f) |
|
FileSystem |
ViewFileSystemOverloadScheme.getRawFileSystem(Path path,
Configuration conf) |
This is an admin only API to give access to its child raw file system, if
the path is link.
|
FsServerDefaults |
ViewFileSystem.getServerDefaults(Path f) |
|
FsServerDefaults |
ViewFs.getServerDefaults(Path f) |
|
FsStatus |
ViewFileSystem.getStatus(Path p) |
|
static java.util.Map<ViewFileSystem.MountPoint,FsStatus> |
ViewFileSystemUtil.getStatus(FileSystem fileSystem,
Path path) |
Get FsStatus for all ViewFsMountPoints matching path for the given
ViewFileSystem.
|
BlockStoragePolicySpi |
ViewFileSystem.getStoragePolicy(Path src) |
|
BlockStoragePolicySpi |
ViewFs.getStoragePolicy(Path src) |
Retrieve the storage policy for a given file or directory.
|
Path |
ViewFileSystem.getTrashRoot(Path path) |
Get the trash root directory for current user when the path
specified is deleted.
|
byte[] |
ViewFileSystem.getXAttr(Path path,
java.lang.String name) |
|
byte[] |
ViewFs.getXAttr(Path path,
java.lang.String name) |
|
java.util.Map<java.lang.String,byte[]> |
ViewFileSystem.getXAttrs(Path path) |
|
java.util.Map<java.lang.String,byte[]> |
ViewFileSystem.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
|
java.util.Map<java.lang.String,byte[]> |
ViewFs.getXAttrs(Path path) |
|
java.util.Map<java.lang.String,byte[]> |
ViewFs.getXAttrs(Path path,
java.util.List<java.lang.String> names) |
|
boolean |
ViewFileSystem.hasPathCapability(Path path,
java.lang.String capability) |
Reject the concat operation; forward the rest to the viewed FS.
|
RemoteIterator<LocatedFileStatus> |
ViewFileSystem.listLocatedStatus(Path f,
PathFilter filter) |
|
RemoteIterator<LocatedFileStatus> |
ViewFs.listLocatedStatus(Path f) |
|
FileStatus[] |
ViewFileSystem.listStatus(Path f) |
List the statuses of the files/directories in the given path if the path is
a directory.
|
FileStatus[] |
ViewFs.listStatus(Path f) |
The specification of this method matches that of
FileContext.Util.listStatus(Path) except that Path f must be
for this file system. |
RemoteIterator<FileStatus> |
ViewFs.listStatusIterator(Path f) |
|
java.util.List<java.lang.String> |
ViewFileSystem.listXAttrs(Path path) |
|
java.util.List<java.lang.String> |
ViewFs.listXAttrs(Path path) |
|
void |
ViewFs.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
|
boolean |
ViewFileSystem.mkdirs(Path dir) |
|
boolean |
ViewFileSystem.mkdirs(Path dir,
FsPermission permission) |
|
void |
ViewFileSystem.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
ViewFs.modifyAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
FSDataInputStream |
ViewFileSystem.open(Path f,
int bufferSize) |
|
FSDataInputStream |
ViewFs.open(Path f,
int bufferSize) |
|
void |
ViewFileSystem.removeAcl(Path path) |
|
void |
ViewFs.removeAcl(Path path) |
|
void |
ViewFileSystem.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
ViewFs.removeAclEntries(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
ViewFileSystem.removeDefaultAcl(Path path) |
|
void |
ViewFs.removeDefaultAcl(Path path) |
|
void |
ViewFileSystem.removeXAttr(Path path,
java.lang.String name) |
|
void |
ViewFs.removeXAttr(Path path,
java.lang.String name) |
|
boolean |
ViewFileSystem.rename(Path src,
Path dst) |
|
void |
ViewFs.renameInternal(Path src,
Path dst) |
|
void |
ViewFs.renameInternal(Path src,
Path dst,
boolean overwrite) |
|
void |
ViewFileSystem.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
|
void |
ViewFs.renameSnapshot(Path path,
java.lang.String snapshotOldName,
java.lang.String snapshotNewName) |
|
Path |
ViewFileSystem.resolvePath(Path f) |
|
Path |
ViewFs.resolvePath(Path f) |
|
void |
ViewFileSystem.satisfyStoragePolicy(Path src) |
|
void |
ViewFs.satisfyStoragePolicy(Path path) |
|
void |
ViewFileSystem.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
ViewFs.setAcl(Path path,
java.util.List<AclEntry> aclSpec) |
|
void |
ViewFileSystem.setOwner(Path f,
java.lang.String username,
java.lang.String groupname) |
|
void |
ViewFs.setOwner(Path f,
java.lang.String username,
java.lang.String groupname) |
|
void |
ViewFileSystem.setPermission(Path f,
FsPermission permission) |
|
void |
ViewFs.setPermission(Path f,
FsPermission permission) |
|
boolean |
ViewFileSystem.setReplication(Path f,
short replication) |
|
boolean |
ViewFs.setReplication(Path f,
short replication) |
|
void |
ViewFileSystem.setStoragePolicy(Path src,
java.lang.String policyName) |
|
void |
ViewFs.setStoragePolicy(Path path,
java.lang.String policyName) |
|
void |
ViewFileSystem.setTimes(Path f,
long mtime,
long atime) |
|
void |
ViewFs.setTimes(Path f,
long mtime,
long atime) |
|
void |
ViewFileSystem.setWorkingDirectory(Path new_dir) |
|
void |
ViewFileSystem.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
|
void |
ViewFs.setXAttr(Path path,
java.lang.String name,
byte[] value,
java.util.EnumSet<XAttrSetFlag> flag) |
|
boolean |
ViewFileSystem.truncate(Path f,
long newLength) |
|
boolean |
ViewFs.truncate(Path f,
long newLength) |
|
void |
ViewFileSystem.unsetStoragePolicy(Path src) |
|
void |
ViewFs.unsetStoragePolicy(Path src) |
| Constructor | Description |
|---|---|
MountPathInfo(Path pathOnTarget,
T targetFs) |
|
NotInMountpointException(Path path,
java.lang.String operation) |
| Modifier and Type | Method | Description |
|---|---|---|
SequenceFile.Writer |
SequenceFile.Sorter.cloneFileAttributes(Path inputFile,
Path outputFile,
Progressable prog) |
Clones the attributes (like compression of the input file and creates a
corresponding Writer
|
protected SequenceFile.Reader |
MapFile.Reader.createDataFileReader(Path dataFile,
Configuration conf,
SequenceFile.Reader.Option... options) |
Override this method to specialize the type of
SequenceFile.Reader returned. |
static SequenceFile.Writer |
SequenceFile.createWriter(FileContext fc,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
SequenceFile.Metadata metadata,
java.util.EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts) |
Construct the preferred type of SequenceFile Writer.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
int bufferSize,
short replication,
long blockSize,
boolean createParent,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
SequenceFile.Metadata metadata) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
int bufferSize,
short replication,
long blockSize,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
Progressable progress) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
Progressable progress) |
Deprecated.
|
static SequenceFile.Reader.Option |
SequenceFile.Reader.file(Path value) |
Create an option to specify the path name of the sequence file.
|
static SequenceFile.Writer.Option |
SequenceFile.Writer.file(Path value) |
|
static long |
MapFile.fix(FileSystem fs,
Path dir,
java.lang.Class<? extends Writable> keyClass,
java.lang.Class<? extends Writable> valueClass,
boolean dryrun,
Configuration conf) |
This method attempts to fix a corrupt MapFile by re-creating its index.
|
void |
MapFile.Merger.merge(Path[] inMapFiles,
boolean deleteInputs,
Path outMapFile) |
Merge multiple MapFiles to one Mapfile.
|
SequenceFile.Sorter.RawKeyValueIterator |
SequenceFile.Sorter.merge(java.util.List<SequenceFile.Sorter.SegmentDescriptor> segments,
Path tmpDir) |
Merges the list of segments of type
SegmentDescriptor |
SequenceFile.Sorter.RawKeyValueIterator |
SequenceFile.Sorter.merge(Path[] inNames,
boolean deleteInputs,
int factor,
Path tmpDir) |
Merges the contents of files passed in Path[]
|
SequenceFile.Sorter.RawKeyValueIterator |
SequenceFile.Sorter.merge(Path[] inNames,
boolean deleteInputs,
Path tmpDir) |
Merges the contents of files passed in Path[] using a max factor value
that is already set
|
void |
SequenceFile.Sorter.merge(Path[] inFiles,
Path outFile) |
Merge the provided files.
|
SequenceFile.Sorter.RawKeyValueIterator |
SequenceFile.Sorter.merge(Path[] inNames,
Path tempDir,
boolean deleteInputs) |
Merges the contents of files passed in Path[]
|
protected void |
MapFile.Reader.open(Path dir,
WritableComparator comparator,
Configuration conf,
SequenceFile.Reader.Option... options) |
|
protected FSDataInputStream |
SequenceFile.Reader.openFile(FileSystem fs,
Path file,
int bufferSize,
long length) |
Override this method to specialize the type of
FSDataInputStream returned. |
void |
SequenceFile.Sorter.sort(Path[] inFiles,
Path outFile,
boolean deleteInput) |
Perform a file sort from a set of input files into an output file.
|
void |
SequenceFile.Sorter.sort(Path inFile,
Path outFile) |
The backwards compatible interface to sort.
|
SequenceFile.Sorter.RawKeyValueIterator |
SequenceFile.Sorter.sortAndIterate(Path[] inFiles,
Path tempDir,
boolean deleteInput) |
Perform a file sort from a set of input files and return an iterator.
|
| Constructor | Description |
|---|---|
Reader(Path dir,
Configuration conf,
SequenceFile.Reader.Option... options) |
|
Reader(Path dir,
Configuration conf,
SequenceFile.Reader.Option... opts) |
|
Reader(FileSystem fs,
Path file,
Configuration conf) |
Deprecated.
Use Reader(Configuration, Option...) instead.
|
SegmentDescriptor(long segmentOffset,
long segmentLength,
Path segmentPathName) |
Constructs a segment
|
Writer(Configuration conf,
Path dir,
SequenceFile.Writer.Option... options) |
|
Writer(Configuration conf,
Path dirName,
SequenceFile.Writer.Option... opts) |
|
Writer(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass) |
Deprecated.
|
Writer(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
Writer(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
CompressionCodec |
CompressionCodecFactory.getCodec(Path file) |
Find the relevant compression codec for the given file based on its
filename suffix.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Path |
WrappedIO.fileSystem_getEnclosingRoot(FileSystem fs,
Path path) |
Return path of the enclosing root for a given path.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
WrappedIO.bulkDelete_delete(FileSystem fs,
Path base,
java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
WrappedIO.bulkDelete_delete(FileSystem fs,
Path base,
java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
static int |
WrappedIO.bulkDelete_pageSize(FileSystem fs,
Path path) |
Get the maximum number of objects/files to delete in a single request.
|
static Path |
WrappedIO.fileSystem_getEnclosingRoot(FileSystem fs,
Path path) |
Return path of the enclosing root for a given path.
|
static FSDataInputStream |
WrappedIO.fileSystem_openFile(FileSystem fs,
Path path,
java.lang.String policy,
FileStatus status,
java.lang.Long length,
java.util.Map<java.lang.String,java.lang.String> options) |
OpenFile assistant, easy reflection-based access to
FileSystem.openFile(Path) and blocks
awaiting the operation completion. |
static java.io.Serializable |
WrappedStatistics.iostatisticsSnapshot_load(FileSystem fs,
Path path) |
Load IOStatisticsSnapshot from a Hadoop filesystem.
|
static void |
WrappedStatistics.iostatisticsSnapshot_save(java.io.Serializable snapshot,
FileSystem fs,
Path path,
boolean overwrite) |
Save IOStatisticsSnapshot to a Hadoop filesystem as a JSON file.
|
static boolean |
WrappedIO.pathCapabilities_hasPathCapability(java.lang.Object fs,
Path path,
java.lang.String capability) |
Does a path have a given capability?
Calls
PathCapabilities.hasPathCapability(Path, String),
mapping IOExceptions to false. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
WrappedIO.bulkDelete_delete(FileSystem fs,
Path base,
java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
DynamicWrappedIO.bulkDelete_delete(FileSystem fs,
Path base,
java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
DynamicWrappedIO.bulkDelete_delete(FileSystem fs,
Path base,
java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
int |
DynamicWrappedIO.bulkDelete_pageSize(FileSystem fileSystem,
Path path) |
Get the maximum number of objects/files to delete in a single request.
|
FSDataInputStream |
DynamicWrappedIO.fileSystem_openFile(FileSystem fs,
Path path,
java.lang.String policy,
FileStatus status,
java.lang.Long length,
java.util.Map<java.lang.String,java.lang.String> options) |
OpenFile assistant, easy reflection-based access to
FileSystem#openFile(Path) and blocks
awaiting the operation completion. |
java.io.Serializable |
DynamicWrappedStatistics.iostatisticsSnapshot_load(FileSystem fs,
Path path) |
Load IOStatisticsSnapshot from a Hadoop filesystem.
|
void |
DynamicWrappedStatistics.iostatisticsSnapshot_save(java.io.Serializable snapshot,
FileSystem fs,
Path path,
boolean overwrite) |
Save IOStatisticsSnapshot to a Hadoop filesystem as a JSON file.
|
boolean |
DynamicWrappedIO.pathCapabilities_hasPathCapability(java.lang.Object fs,
Path path,
java.lang.String capability) |
Does a path have a given capability?
Calls
PathCapabilities#hasPathCapability(Path, String),
mapping IOExceptions to false. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.util.Map.Entry<Path,java.lang.String>> |
DynamicWrappedIO.bulkDelete_delete(FileSystem fs,
Path base,
java.util.Collection<Path> paths) |
Delete a list of files/objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract int |
AbstractMapRFileSystem.copyAce(Path src,
Path dest) |
This method copies ACEs on source to destination.
|
abstract void |
AbstractMapRFileSystem.deleteAces(Path path,
boolean recursive) |
This method deletes all ACEs of a file or directory.
|
java.lang.String |
Fid.mkdirsFid(Path p) |
|
abstract void |
AbstractMapRFileSystem.setAces(Path path,
java.lang.String strAces,
boolean isSet,
int noinherit,
int preservemodebits,
boolean recursive) |
This method fully replaces ACEs of a file or directory recursively,
discarding all existing ones.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected Path |
RollingFileSystemSink.basePath |
| Modifier and Type | Method | Description |
|---|---|---|
static Path |
ProviderUtils.unnestUri(java.net.URI nestedUri) |
Convert a nested URI to decode the underlying path.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Credentials |
Credentials.readTokenStorageFile(Path filename,
Configuration conf) |
Convenience method for reading a token storage file and loading its Tokens.
|
void |
Credentials.writeTokenStorageFile(Path filename,
Configuration conf) |
|
void |
Credentials.writeTokenStorageFile(Path filename,
Configuration conf,
Credentials.SerializedFormat format) |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
AbstractJavaKeyStoreProvider.getPath() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractJavaKeyStoreProvider.setPath(Path p) |
| Modifier and Type | Method | Description |
|---|---|---|
Path |
Options.PathOption.getValue() |
|
static Path[] |
StringUtils.stringToPath(java.lang.String[] str) |
stringToPath.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
DiskChecker.checkDir(LocalFileSystem localFS,
Path dir,
FsPermission expected) |
Create the local directory if necessary, check permissions and also ensure
it can be read from and written into.
|
static void |
DiskChecker.checkDirWithDiskIo(LocalFileSystem localFS,
Path dir,
FsPermission expected) |
Create the local directory if necessary, also ensure permissions
allow it to be read from and written into.
|
T |
JsonSerialization.load(FileSystem fs,
Path path) |
Load from a Hadoop filesystem.
|
T |
JsonSerialization.load(FileSystem fs,
Path path,
FileStatus status) |
Load from a Hadoop filesystem.
|
void |
JsonSerialization.save(FileSystem fs,
Path path,
T instance,
boolean overwrite) |
Save to a Hadoop filesystem.
|
| Constructor | Description |
|---|---|
PathOption(Path value) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.