public class TestFailedAppendAndSync extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
static org.apache.hadoop.conf.Configuration |
CONF |
org.junit.rules.TestName |
name |
protected TableName |
tableName |
| Constructor and Description |
|---|
TestFailedAppendAndSync() |
| Modifier and Type | Method and Description |
|---|---|
static HRegion |
initHRegion(TableName tableName,
byte[] startKey,
byte[] stopKey,
WAL wal) |
void |
setup() |
void |
tearDown() |
void |
testLockupAroundBadAssignSync()
Reproduce locking up that happens when we get an exceptions appending and syncing.
|
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public static org.apache.hadoop.conf.Configuration CONF
public TestFailedAppendAndSync()
public void setup() throws IOException
IOExceptionpublic void testLockupAroundBadAssignSync() throws IOException
IOExceptionpublic static HRegion initHRegion(TableName tableName, byte[] startKey, byte[] stopKey, WAL wal) throws IOException
HBaseTestingUtility.closeRegionAndWAL(HRegion) when done.IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.