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 contextModifier and Type | Field and Description |
---|---|
static char |
HYPHEN |
static String |
OPT_AUTHN |
static String |
OPT_SUPERUSER |
static 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, util
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS
Constructor and Description |
---|
IntegrationTestIngestWithACL() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions()
Override this to add command-line options using
AbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods. |
protected String[] |
getArgsForLoadTestTool(String mode,
String modeSpecificArg,
long startKey,
long numKeys) |
static void |
main(String[] args) |
protected void |
processOptions(CommandLine cmd)
This method is called to process the options after they have been parsed.
|
void |
setUpCluster() |
getArgsForLoadTestToolInitTable, getColumnFamilies, getMinServerCount, getNumKeys, getTablename, initTable, internalRunIngestTest, runIngestTest, runTestFromCommandLine, testIngest
cleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, processBaseOptions, setUp, setUpMonkey, startMonkey
addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, parseArgs, parseInt, parseLong, printUsage, printUsage, run, setConf
public static final char HYPHEN
public static final String OPT_SUPERUSER
public static final String OPT_USERS
public static final String OPT_AUTHN
public void setUpCluster() throws Exception
setUpCluster
in class IntegrationTestIngest
Exception
protected String[] getArgsForLoadTestTool(String mode, String modeSpecificArg, long startKey, long numKeys)
getArgsForLoadTestTool
in class IntegrationTestIngest
protected void addOptions()
AbstractHBaseTool
AbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods.addOptions
in class IntegrationTestBase
protected void processOptions(CommandLine cmd)
AbstractHBaseTool
processOptions
in class IntegrationTestBase