public class TestFailedAppendAndSync extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
COLUMN_FAMILY |
private static byte[] |
COLUMN_FAMILY_BYTES |
static org.apache.hadoop.conf.Configuration |
CONF |
private String |
dir |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
(package private) org.apache.hadoop.hbase.regionserver.HRegion |
region |
protected org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestFailedAppendAndSync() |
Modifier and Type | Method and Description |
---|---|
(package private) String |
getName() |
static org.apache.hadoop.hbase.regionserver.HRegion |
initHRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] startKey,
byte[] stopKey,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.wal.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
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
private static final String COLUMN_FAMILY
private static final byte[] COLUMN_FAMILY_BYTES
org.apache.hadoop.hbase.regionserver.HRegion region
private static HBaseTestingUtility TEST_UTIL
public static org.apache.hadoop.conf.Configuration CONF
protected org.apache.hadoop.hbase.TableName tableName
public TestFailedAppendAndSync()
public void setup() throws IOException
IOException
public void testLockupAroundBadAssignSync() throws IOException
IOException
public static org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.TableName tableName, byte[] startKey, byte[] stopKey, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.wal.WAL wal) throws IOException
HBaseTestingUtility.closeRegionAndWAL(HRegion)
when done.IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.