@InterfaceAudience.Private public final class FanOutOneBlockAsyncDFSOutputHelper extends Object
FanOutOneBlockAsyncDFSOutput
.Modifier and Type | Class and Description |
---|---|
static class |
FanOutOneBlockAsyncDFSOutputHelper.NameNodeException
Exception other than RemoteException thrown when calling create on namenode
|
Modifier and Type | Field and Description |
---|---|
static String |
ASYNC_DFS_OUTPUT_CREATE_MAX_RETRIES |
static int |
DEFAULT_ASYNC_DFS_OUTPUT_CREATE_MAX_RETRIES |
static long |
HEART_BEAT_SEQNO |
static int |
READ_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static FanOutOneBlockAsyncDFSOutput |
createOutput(org.apache.hadoop.hdfs.DistributedFileSystem dfs,
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 a
FanOutOneBlockAsyncDFSOutput . |
static boolean |
shouldRetryCreate(org.apache.hadoop.ipc.RemoteException e) |
public static final String ASYNC_DFS_OUTPUT_CREATE_MAX_RETRIES
public static final int DEFAULT_ASYNC_DFS_OUTPUT_CREATE_MAX_RETRIES
public static final long HEART_BEAT_SEQNO
public static final int READ_TIMEOUT
public static FanOutOneBlockAsyncDFSOutput createOutput(org.apache.hadoop.hdfs.DistributedFileSystem dfs, 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
FanOutOneBlockAsyncDFSOutput
. The method maybe blocked so do not call it
inside an EventLoop
.IOException
public static boolean shouldRetryCreate(org.apache.hadoop.ipc.RemoteException e)
Copyright © 2007–2019 Cloudera. All rights reserved.