public class IntegrationTestWithCellVisibilityLoadAndVerify extends IntegrationTestLoadAndVerify
Modifier and Type | Class and Description |
---|---|
private static class |
IntegrationTestWithCellVisibilityLoadAndVerify.Counters |
static class |
IntegrationTestWithCellVisibilityLoadAndVerify.LoadWithCellVisibilityMapper |
static class |
IntegrationTestWithCellVisibilityLoadAndVerify.VerifyMapper |
IntegrationTestLoadAndVerify.LoadMapper, IntegrationTestLoadAndVerify.VerifyReducer, IntegrationTestLoadAndVerify.WALSearcher
Modifier and Type | Field and Description |
---|---|
private static char |
AND |
private static String |
CONFIDENTIAL |
private static String |
ERROR_STR |
private static String[] |
LABELS |
private static char |
NOT |
private static long |
NUM_TO_WRITE_DEFAULT |
private static String |
NUM_TO_WRITE_KEY |
private long |
numRowsLoadedWithExp1 |
private long |
numRowsLoadedWithExp2 |
private long |
numRowsLoadWithExp3 |
private long |
numRowsLoadWithExp4 |
private long |
numRowsReadWithExp1 |
private long |
numRowsReadWithExp2 |
private long |
numRowsReadWithExp3 |
private long |
numRowsReadWithExp4 |
private static char |
OR |
private static String |
PRIVATE |
private static String |
PUBLIC |
private static int |
SCANNER_CACHING |
private static String |
SECRET |
private static byte[] |
TEST_FAMILY |
private static String |
TEST_NAME |
private static byte[] |
TEST_QUALIFIER |
private static String |
TOPSECRET |
private static String |
USER_OPT |
private static org.apache.hadoop.hbase.security.User |
USER1 |
private static org.apache.hadoop.hbase.security.User |
USER2 |
private static String |
userNames |
private static String[] |
VISIBILITY_EXPS |
private static int |
VISIBILITY_EXPS_COUNT |
FOUND_GROUP_KEY, SEARCHER_INPUTDIR_KEY
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp, util
Constructor and Description |
---|
IntegrationTestWithCellVisibilityLoadAndVerify() |
Modifier and Type | Method and Description |
---|---|
private void |
addLabelsAndAuths() |
protected void |
addOptions() |
protected org.apache.hadoop.mapreduce.Job |
doLoad(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.HTableDescriptor htd) |
protected void |
doVerify(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.HTableDescriptor htd) |
private org.apache.hadoop.mapreduce.Job |
doVerify(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.HTableDescriptor htd,
String... auths) |
static void |
main(String[] argv) |
void |
printUsage() |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
int |
runTestFromCommandLine() |
private static void |
setJobScannerConf(org.apache.hadoop.mapreduce.Job job) |
protected void |
setMapperClass(org.apache.hadoop.mapreduce.Job job) |
void |
setUpCluster() |
cleanUpCluster, getColumnFamilies, getTablename, getTestDir, readKeysToSearch, swapLong, testLoadAndVerify
cleanUp, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, loadMonkeyProperties, processBaseOptions, setUp, setUpMonkey, startMonkey
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, processOldArgs, run, setConf
private static final String ERROR_STR
private static final char NOT
private static final char OR
private static final char AND
private static final String TEST_NAME
private static final String CONFIDENTIAL
private static final String TOPSECRET
private static final String SECRET
private static final String PUBLIC
private static final String PRIVATE
private static final String[] VISIBILITY_EXPS
private static final int VISIBILITY_EXPS_COUNT
private static final byte[] TEST_FAMILY
private static final byte[] TEST_QUALIFIER
private static final String NUM_TO_WRITE_KEY
private static final long NUM_TO_WRITE_DEFAULT
private static final int SCANNER_CACHING
private long numRowsLoadedWithExp1
private long numRowsLoadedWithExp2
private long numRowsLoadWithExp3
private long numRowsLoadWithExp4
private long numRowsReadWithExp1
private long numRowsReadWithExp2
private long numRowsReadWithExp3
private long numRowsReadWithExp4
private static org.apache.hadoop.hbase.security.User USER1
private static org.apache.hadoop.hbase.security.User USER2
public IntegrationTestWithCellVisibilityLoadAndVerify()
public void setUpCluster() throws Exception
setUpCluster
in class IntegrationTestLoadAndVerify
Exception
protected void addOptions()
addOptions
in class IntegrationTestBase
private void addLabelsAndAuths() throws Exception
Exception
protected org.apache.hadoop.mapreduce.Job doLoad(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.HTableDescriptor htd) throws Exception
doLoad
in class IntegrationTestLoadAndVerify
Exception
protected void setMapperClass(org.apache.hadoop.mapreduce.Job job)
setMapperClass
in class IntegrationTestLoadAndVerify
protected void doVerify(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.HTableDescriptor htd) throws Exception
doVerify
in class IntegrationTestLoadAndVerify
Exception
private org.apache.hadoop.mapreduce.Job doVerify(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.HTableDescriptor htd, String... auths) throws IOException, InterruptedException, ClassNotFoundException
private static void setJobScannerConf(org.apache.hadoop.mapreduce.Job job)
public void printUsage()
printUsage
in class IntegrationTestLoadAndVerify
public int runTestFromCommandLine() throws Exception
runTestFromCommandLine
in class IntegrationTestLoadAndVerify
Exception
protected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions
in class IntegrationTestLoadAndVerify
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.