Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
Modifier and Type | Method and Description |
---|---|
HdfsDataOutputStream |
Hdfs.createInternal(Path f,
EnumSet<CreateFlag> createFlag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
Modifier and Type | Method and Description |
---|---|
HdfsDataOutputStream |
DFSClient.append(String src,
int buffersize,
Progressable progress,
FileSystem.Statistics statistics)
Append to an existing HDFS file.
|
HdfsDataOutputStream |
DistributedFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
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. |
protected HdfsDataOutputStream |
DistributedFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
Copyright © 2013 Apache Software Foundation. All rights reserved.