public class IntegrationTestIngestWithACL extends IntegrationTestIngest
LoadTestTool to write and verify some data.
Verifies whether cells for users with only WRITE permissions are not read back
and cells with READ permissions are read back.
Every operation happens in the user's specific context| Modifier and Type | Field and Description |
|---|---|
private String |
authnFileName |
private static char |
COLON |
static char |
HYPHEN |
static String |
OPT_AUTHN |
static String |
OPT_SUPERUSER |
static String |
OPT_USERS |
private static int |
SPECIAL_PERM_CELL_INSERTION_FACTOR |
private String |
superUser |
private String |
userNames |
cluster, DEFAULT_NUM_KEYS_PER_SERVER, DEFAULT_NUM_READ_THREADS, DEFAULT_NUM_WRITE_THREADS, DEFAULT_RUN_TIME, HIPHEN, JUNIT_RUN_TIME, LOAD_TEST_TOOL_INIT_ARGS, loadTool, LOG, NUM_KEYS_PER_SERVER_KEY, NUM_READ_THREADS_KEY, NUM_WRITE_THREADS_KEY, RUN_TIME_KEY, utilCHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp| Constructor and Description |
|---|
IntegrationTestIngestWithACL() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
protected String[] |
getArgsForLoadTestTool(String mode,
String modeSpecificArg,
long startKey,
long numKeys) |
static void |
main(String[] args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
void |
setUpCluster() |
getArgsForLoadTestToolInitTable, getColumnFamilies, getMinServerCount, getNumKeys, getTablename, initTable, internalRunIngestTest, runIngestTest, runTestFromCommandLine, testIngestcleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, loadMonkeyProperties, processBaseOptions, setUp, setUpMonkey, startMonkeyaddOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfprivate static final char COLON
public static final char HYPHEN
private static final int SPECIAL_PERM_CELL_INSERTION_FACTOR
public static final String OPT_SUPERUSER
public static final String OPT_USERS
public static final String OPT_AUTHN
private String authnFileName
public IntegrationTestIngestWithACL()
public void setUpCluster() throws Exception
setUpCluster in class IntegrationTestIngestExceptionprotected String[] getArgsForLoadTestTool(String mode, String modeSpecificArg, long startKey, long numKeys)
getArgsForLoadTestTool in class IntegrationTestIngestprotected void addOptions()
addOptions in class IntegrationTestBaseprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class IntegrationTestBaseCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.