@InterfaceAudience.Private public final class AsyncFSOutputHelper extends Object
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.hadoop.hbase.shaded.io.netty.channel.EventLoop eventLoop,
Class<? extends org.apache.hadoop.hbase.shaded.io.netty.channel.Channel> channelClass)
Create
FanOutOneBlockAsyncDFSOutput for DistributedFileSystem , and a simple
implementation for other FileSystem which wraps around a FSDataOutputStream . |
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.hadoop.hbase.shaded.io.netty.channel.EventLoop eventLoop, Class<? extends org.apache.hadoop.hbase.shaded.io.netty.channel.Channel> channelClass) throws IOException
FanOutOneBlockAsyncDFSOutput
for DistributedFileSystem
, and a simple
implementation for other FileSystem
which wraps around a FSDataOutputStream
.IOException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.