@InterfaceAudience.Private public class AcidGuaranteesTestTool extends AbstractHBaseTool
| Modifier and Type | Class and Description |
|---|---|
static class |
AcidGuaranteesTestTool.AtomicGetReader
Thread that does single-row reads in a table, looking for partially completed rows.
|
static class |
AcidGuaranteesTestTool.AtomicityWriter
Thread that does random full-row writes into a table.
|
static class |
AcidGuaranteesTestTool.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 |
static int |
NUM_COLS_TO_CHECK |
static byte[] |
QUALIFIER_NAME |
static TableName |
TABLE_NAME |
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION| Constructor and Description |
|---|
AcidGuaranteesTestTool() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
protected int |
doWork() |
static void |
main(String[] args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfpublic 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 AcidGuaranteesTestTool()
protected void addOptions()
addOptions in class AbstractHBaseToolprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class AbstractHBaseToolprotected int doWork() throws Exception
doWork in class AbstractHBaseToolExceptionCopyright © 2007–2019 Cloudera. All rights reserved.