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 |
|---|---|
static char |
HYPHEN |
static java.lang.String |
OPT_AUTHN |
static java.lang.String |
OPT_SUPERUSER |
static java.lang.String |
OPT_USERS |
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 java.lang.String[] |
getArgsForLoadTestTool(java.lang.String mode,
java.lang.String modeSpecificArg,
long startKey,
long numKeys) |
static void |
main(java.lang.String[] args) |
protected void |
processOptions(CommandLine cmd) |
void |
setUpCluster() |
getArgsForLoadTestToolInitTable, getColumnFamilies, getMinServerCount, getNumKeys, getTablename, initTable, internalRunIngestTest, runIngestTest, runTestFromCommandLine, testIngestcleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, processBaseOptions, setUp, setUpMonkey, startMonkeypublic static final char HYPHEN
public static final java.lang.String OPT_SUPERUSER
public static final java.lang.String OPT_USERS
public static final java.lang.String OPT_AUTHN
public void setUpCluster()
throws java.lang.Exception
setUpCluster in class IntegrationTestIngestjava.lang.Exceptionprotected java.lang.String[] getArgsForLoadTestTool(java.lang.String mode,
java.lang.String modeSpecificArg,
long startKey,
long numKeys)
getArgsForLoadTestTool in class IntegrationTestIngestprotected void addOptions()
addOptions in class IntegrationTestBaseprotected void processOptions(CommandLine cmd)
processOptions in class IntegrationTestBasepublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception