Class TestFanOutOneBlockAsyncDFSOutput
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
org.apache.hadoop.hbase.io.asyncfs.TestFanOutOneBlockAsyncDFSOutput
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>
static final HBaseClassTestRule
private static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup
private static org.apache.hadoop.hdfs.DistributedFileSystem
private static final org.slf4j.Logger
private static org.apache.hadoop.hbase.io.asyncfs.monitor.StreamSlowMonitor
org.junit.rules.TestName
private static int
private static final Random
Fields inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
CLUSTER, CLUSTER_TEST_DIR, UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setUp()
static void
tearDown()
void
test()
void
Test method has been renamed to be the first in NAME_ASCENDING.void
void
This is important for fencing when recover from RS crash.void
void
void
(package private) static void
writeAndVerify
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path f, org.apache.hadoop.hbase.io.asyncfs.AsyncFSOutput out) Methods inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
setupClusterTestDir, shutdownMiniDFSCluster, startMiniDFSCluster
-
Field Details
-
CLASS_RULE
-
LOG
-
FS
-
EVENT_LOOP_GROUP
-
CHANNEL_CLASS
-
READ_TIMEOUT_MS
-
MONITOR
-
name
-
RNG
-
-
Constructor Details
-
TestFanOutOneBlockAsyncDFSOutput
public TestFanOutOneBlockAsyncDFSOutput()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
writeAndVerify
static void writeAndVerify(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path f, org.apache.hadoop.hbase.io.asyncfs.AsyncFSOutput out) throws IOException, InterruptedException, ExecutionException -
test
-
test0Recover
Test method has been renamed to be the first in NAME_ASCENDING. It's an ugly hack to avoid flakiness. -
testHeartbeat
-
testCreateParentFailed
This is important for fencing when recover from RS crash.- Throws:
IOException
-
testConnectToDatanodeFailed
-
testExcludeFailedConnectToDatanode
-
testWriteLargeChunk
-