| Package | Description |
|---|---|
| org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
| org.apache.hadoop.hdfs |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsDataOutputStream |
Hdfs.createInternal(org.apache.hadoop.fs.Path f,
java.util.EnumSet<org.apache.hadoop.fs.CreateFlag> createFlag,
org.apache.hadoop.fs.permission.FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress,
org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt,
boolean createParent) |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsDataOutputStream |
DFSClient.append(java.lang.String src,
int buffersize,
java.util.EnumSet<org.apache.hadoop.fs.CreateFlag> flag,
org.apache.hadoop.util.Progressable progress,
org.apache.hadoop.fs.FileSystem.Statistics statistics) |
Append to an existing HDFS file.
|
HdfsDataOutputStream |
DFSClient.append(java.lang.String src,
int buffersize,
java.util.EnumSet<org.apache.hadoop.fs.CreateFlag> flag,
org.apache.hadoop.util.Progressable progress,
org.apache.hadoop.fs.FileSystem.Statistics statistics,
java.net.InetSocketAddress[] favoredNodes) |
Append to an existing HDFS file.
|
HdfsDataOutputStream |
DistributedFileSystem.create(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.permission.FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress,
java.net.InetSocketAddress[] favoredNodes) |
Same as
DistributedFileSystem.create(Path, FsPermission, boolean, int, short, long,
Progressable) with the addition of favoredNodes that is a hint to
where the namenode should place the file blocks. |
HdfsDataOutputStream |
ViewDistributedFileSystem.create(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.permission.FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress,
java.net.InetSocketAddress[] favoredNodes) |
|
HdfsDataOutputStream |
DFSClient.createWrappedOutputStream(DFSOutputStream dfsos,
org.apache.hadoop.fs.FileSystem.Statistics statistics) |
Wraps the stream in a CryptoOutputStream if the underlying file is
encrypted.
|
HdfsDataOutputStream |
DFSClient.createWrappedOutputStream(DFSOutputStream dfsos,
org.apache.hadoop.fs.FileSystem.Statistics statistics,
long startPos) |
Wraps the stream in a CryptoOutputStream if the underlying file is
encrypted.
|
protected HdfsDataOutputStream |
DistributedFileSystem.primitiveCreate(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.permission.FsPermission absolutePermission,
java.util.EnumSet<org.apache.hadoop.fs.CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress,
org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) |
|
protected HdfsDataOutputStream |
ViewDistributedFileSystem.primitiveCreate(org.apache.hadoop.fs.Path f,
org.apache.hadoop.fs.permission.FsPermission absolutePermission,
java.util.EnumSet<org.apache.hadoop.fs.CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
org.apache.hadoop.util.Progressable progress,
org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.