| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.crypto | |
| org.apache.hadoop.fs.ftp | |
| 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.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.file.tfile | |
| 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.util |
Common utilities.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
FSDataInputStream |
FileSystem.open(PathHandle fd) |
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize) |
Open an FSDataInputStream matching the PathHandle instance.
|
abstract FSDataInputStream |
FileSystem.open(Path f,
int bufferSize) |
Opens an FSDataInputStream at the indicated Path.
|
FSDataInputStream |
FilterFileSystem.open(PathHandle fd,
int bufferSize) |
|
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(PathHandle fd,
int bufferSize) |
|
FSDataInputStream |
HarFileSystem.open(Path f,
int bufferSize) |
Returns a har input stream which fakes end of
file.
|
FSDataInputStream |
RawLocalFileSystem.open(PathHandle fd,
int bufferSize) |
|
FSDataInputStream |
RawLocalFileSystem.open(Path f,
int bufferSize) |
|
FSDataInputStream |
FileSystem.openFid(java.lang.String fid,
long[] ips,
long chunkSize,
long fileSize) |
MapR addition:
Opens an FSDataInputStream at the indicated fid.
|
FSDataInputStream |
FileSystem.openFid(java.lang.String pfid,
java.lang.String file,
long[] ips) |
MapR addition:
Opens an FSDataInputStream at the indicated fid.
|
FSDataInputStream |
FileSystem.openFid2(PathId pfid,
java.lang.String file,
int readAheadBytesHint) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletableFuture<FSDataInputStream> |
FutureDataInputStreamBuilder.build() |
|
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(PathHandle pathHandle,
OpenFileParameters parameters) |
Execute the actual open file operation.
|
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(PathHandle pathHandle,
OpenFileParameters parameters) |
|
protected java.util.concurrent.CompletableFuture<FSDataInputStream> |
FilterFileSystem.openFileWithOptions(Path path,
OpenFileParameters parameters) |
|
java.util.concurrent.CompletableFuture<FSDataInputStream> |
FilterFs.openFileWithOptions(Path path,
OpenFileParameters parameters) |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
| Constructor | Description |
|---|---|
AvroFSInput(FSDataInputStream in,
long len) |
Construct given an
FSDataInputStream and its length. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
CryptoFSDataInputStream |
| Constructor | Description |
|---|---|
CryptoFSDataInputStream(FSDataInputStream in,
CryptoCodec codec,
byte[] key,
byte[] iv) |
|
CryptoFSDataInputStream(FSDataInputStream in,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv) |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataInputStream |
FTPFileSystem.open(Path file,
int bufferSize) |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataInputStream |
SFTPFileSystem.open(Path f,
int bufferSize) |
| Modifier and Type | Method | Description |
|---|---|---|
protected FSDataInputStream |
PathData.openFile(java.lang.String policy) |
Open a file.
|
protected FSDataInputStream |
PathData.openForSequentialIO() |
Open a file for sequential IO.
|
| Modifier and Type | Method | Description |
|---|---|---|
FSDataInputStream |
ViewFileSystem.open(Path f,
int bufferSize) |
|
FSDataInputStream |
ViewFs.open(Path f,
int bufferSize) |
| Modifier and Type | Method | Description |
|---|---|---|
protected static FSDataInputStream |
SecureIOUtils.forceSecureOpenFSDataInputStream(java.io.File file,
java.lang.String expectedOwner,
java.lang.String expectedGroup) |
Same as openFSDataInputStream except that it will run even if security is
off.
|
protected FSDataInputStream |
SequenceFile.Reader.openFile(FileSystem fs,
Path file,
int bufferSize,
long length) |
Override this method to specialize the type of
FSDataInputStream returned. |
static FSDataInputStream |
SecureIOUtils.openFSDataInputStream(java.io.File file,
java.lang.String expectedOwner,
java.lang.String expectedGroup) |
Opens the
FSDataInputStream on the requested file on local file
system, verifying the expected user/group constraints if security is
enabled. |
| Modifier and Type | Method | Description |
|---|---|---|
static SequenceFile.Reader.Option |
SequenceFile.Reader.stream(FSDataInputStream value) |
Create an option to specify the stream with the sequence file.
|
| Constructor | Description |
|---|---|
Reader(FSDataInputStream in,
int buffersize,
long start,
long length,
Configuration conf) |
Deprecated.
Use Reader(Configuration, Reader.Option...) instead.
|
| Constructor | Description |
|---|---|
BoundedRangeFileInputStream(FSDataInputStream in,
long offset,
long length) |
Constructor
|
Reader(FSDataInputStream fsdis,
long fileLength,
Configuration conf) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
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. |
| Modifier and Type | Method | Description |
|---|---|---|
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. |
static FSDataInputStream |
DynamicWrappedIO.openFile(FileSystem fs,
FileStatus status,
java.lang.String readPolicies) |
Open a file.
|
| Modifier and Type | Method | Description |
|---|---|---|
FSDataInputStream |
Fid.openFid(java.lang.String fid,
long[] ips,
long chunkSize,
long fileSize) |
|
FSDataInputStream |
Fid.openFid(java.lang.String pfid,
java.lang.String file,
long[] ips) |
|
FSDataInputStream |
Fid.openFid2(PathId pfid,
java.lang.String file,
int readAheadBytesHint) |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataInputStream |
Options.FSDataInputStreamOption.getValue() |
| Constructor | Description |
|---|---|
FSDataInputStreamOption(FSDataInputStream value) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.