public class TestAcidGuarantees extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestAcidGuarantees.AtomicGetReader
Thread that does single-row reads in a table, looking for partially
completed rows.
|
static class |
TestAcidGuarantees.AtomicityWriter
Thread that does random full-row writes into a table.
|
static class |
TestAcidGuarantees.AtomicScanReader
Thread that does full scans of the table looking for any partially completed
rows.
|
Modifier and Type | Field and Description |
---|---|
static byte[][] |
FAMILIES |
static byte[] |
FAMILY_A |
static byte[] |
FAMILY_B |
static byte[] |
FAMILY_C |
protected static Log |
LOG |
static int |
NUM_COLS_TO_CHECK |
static byte[] |
QUALIFIER_NAME |
static TableName |
TABLE_NAME |
Constructor and Description |
---|
TestAcidGuarantees() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
static void |
main(String[] args) |
int |
run(String[] arg0) |
void |
runTestAtomicity(long millisToRun,
int numWriters,
int numGetters,
int numScanners,
int numUniqueRows) |
void |
runTestAtomicity(long millisToRun,
int numWriters,
int numGetters,
int numScanners,
int numUniqueRows,
boolean systemTest) |
void |
setConf(Configuration c) |
void |
setHBaseTestingUtil(HBaseTestingUtility util) |
void |
testGetAtomicity() |
void |
testMixedAtomicity() |
void |
testScanAtomicity() |
protected static final Log LOG
public static final TableName TABLE_NAME
public static final byte[] FAMILY_A
public static final byte[] FAMILY_B
public static final byte[] FAMILY_C
public static final byte[] QUALIFIER_NAME
public static final byte[][] FAMILIES
public static int NUM_COLS_TO_CHECK
public void setHBaseTestingUtil(HBaseTestingUtility util)
public void runTestAtomicity(long millisToRun, int numWriters, int numGetters, int numScanners, int numUniqueRows) throws Exception
Exception
public void runTestAtomicity(long millisToRun, int numWriters, int numGetters, int numScanners, int numUniqueRows, boolean systemTest) throws Exception
Exception
public Configuration getConf()
public void setConf(Configuration c)