@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 long |
HEART_BEAT_SEQNO |
static int |
READ_TIMEOUT |
static int |
READ_TIMEOUT_EXTENSION |
static int |
WRITE_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.hadoop.hbase.shaded.io.netty.channel.EventLoop eventLoop,
Class<? extends org.apache.hadoop.hbase.shaded.io.netty.channel.Channel> channelClass)
Create a
FanOutOneBlockAsyncDFSOutput . |
static boolean |
shouldRetryCreate(org.apache.hadoop.ipc.RemoteException e) |
public static final long HEART_BEAT_SEQNO
public static final int READ_TIMEOUT
public static final int READ_TIMEOUT_EXTENSION
public static final int WRITE_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.hadoop.hbase.shaded.io.netty.channel.EventLoop eventLoop, Class<? extends org.apache.hadoop.hbase.shaded.io.netty.channel.Channel> channelClass) throws IOException
FanOutOneBlockAsyncDFSOutput
. The method maybe blocked so do not call it
inside EventLoop
.eventLoop
- all connections to datanode will use the same event loop.IOException
public static boolean shouldRetryCreate(org.apache.hadoop.ipc.RemoteException e)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.