public class IntegrationTestBulkLoad extends IntegrationTestBase
Modifier and Type | Class and Description |
---|---|
static class |
IntegrationTestBulkLoad.CompositeKeyComparator
Comparator used to order linkKeys so that they are passed to a reducer in order.
|
static class |
IntegrationTestBulkLoad.EmptySplit |
static class |
IntegrationTestBulkLoad.FixedRecordReader<K,V> |
static class |
IntegrationTestBulkLoad.ITBulkLoadInputFormat |
static class |
IntegrationTestBulkLoad.LinkChain
Writable used as the value emitted from a pass over the hbase table.
|
static class |
IntegrationTestBulkLoad.LinkedListCheckingMapper
Mapper to pass over the table.
|
static class |
IntegrationTestBulkLoad.LinkedListCheckingReducer
Class that does the actual checking of the links.
|
static class |
IntegrationTestBulkLoad.LinkedListCreationMapper
Mapper that creates a linked list of KeyValues.
|
static class |
IntegrationTestBulkLoad.LinkKey
Writable class used as the key to group links in the linked list.
|
static class |
IntegrationTestBulkLoad.NaturalKeyGroupingComparator
Comparator used to figure out if a linkKey should be grouped together.
|
static class |
IntegrationTestBulkLoad.NaturalKeyPartitioner
Class to figure out what partition to send a link in the chain to.
|
static class |
IntegrationTestBulkLoad.SlowMeCoproScanOperations |
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp, util
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS
Constructor and Description |
---|
IntegrationTestBulkLoad() |
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 Set<String> |
getColumnFamilies() |
TableName |
getTablename() |
static TableName |
getTableName(Configuration conf) |
static void |
main(String[] args) |
protected void |
processOptions(CommandLine cmd)
This method is called to process the options after they have been parsed.
|
void |
runLoad() |
int |
runTestFromCommandLine() |
void |
setUpCluster() |
void |
testBulkLoad() |
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 void setUpCluster() throws Exception
setUpCluster
in class IntegrationTestBase
Exception
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
public int runTestFromCommandLine() throws Exception
runTestFromCommandLine
in class IntegrationTestBase
Exception
public TableName getTablename()
getTablename
in class IntegrationTestBase
public static TableName getTableName(Configuration conf)
protected Set<String> getColumnFamilies()
getColumnFamilies
in class IntegrationTestBase