public class TestReplicationSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestReplicationSource.ShutdownDelayRegionServer
Regionserver implementation that adds a delay on the graceful shutdown.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static org.apache.hadoop.fs.FileSystem |
FS |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.fs.Path |
logDir |
private static org.apache.hadoop.fs.Path |
oldLogDir |
private static HBaseTestingUtility |
TEST_UTIL |
private static HBaseTestingUtility |
TEST_UTIL_PEER |
Constructor and Description |
---|
TestReplicationSource() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testLogMoving()
Sanity check that we can move logs around while we are reading
from them.
|
void |
testServerShutdownRecoveredQueue()
Tests that recovered queues are preserved on a regionserver shutdown.
|
void |
testTerminateTimeout()
Tests that
ReplicationSource.terminate(String) will timeout properly |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final HBaseTestingUtility TEST_UTIL_PEER
private static org.apache.hadoop.fs.FileSystem FS
private static org.apache.hadoop.fs.Path oldLogDir
private static org.apache.hadoop.fs.Path logDir
private static org.apache.hadoop.conf.Configuration conf
public TestReplicationSource()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testLogMoving() throws Exception
Exception
public void testTerminateTimeout() throws Exception
ReplicationSource.terminate(String)
will timeout properlyException
public void testServerShutdownRecoveredQueue() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.