@InterfaceAudience.Private public final class AsyncFSOutputHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
AsyncFSOutputHelper() |
Modifier and Type | Method and Description |
---|---|
static AsyncFSOutput |
createOutput(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path f,
boolean overwrite,
boolean createParent,
short replication,
long blockSize,
org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup,
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass)
Create
FanOutOneBlockAsyncDFSOutput for DistributedFileSystem , and a simple
implementation for other FileSystem which wraps around a FSDataOutputStream . |
private AsyncFSOutputHelper()
public static AsyncFSOutput createOutput(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path f, boolean overwrite, boolean createParent, short replication, long blockSize, org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) throws IOException, CommonFSUtils.StreamLacksCapabilityException
FanOutOneBlockAsyncDFSOutput
for DistributedFileSystem
, and a simple
implementation for other FileSystem
which wraps around a FSDataOutputStream
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.