static class IntegrationTestBigLinkedList.Generator extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegrationTestBigLinkedList.Generator.Counts |
(package private) static class |
IntegrationTestBigLinkedList.Generator.GeneratorInputFormat |
(package private) static class |
IntegrationTestBigLinkedList.Generator.GeneratorMapper
Some ASCII art time:
|
(package private) static class |
IntegrationTestBigLinkedList.Generator.OneFilePerMapperSFIF<K,V>
Ensure output files from prev-job go to map inputs for current job
|
| Modifier and Type | Field and Description |
|---|---|
org.apache.hadoop.mapreduce.Job |
job |
private static org.slf4j.Logger |
LOG |
static String |
MULTIPLE_UNEVEN_COLUMNFAMILIES_KEY
Set this configuration if you want to test single-column family flush works.
|
static String |
USAGE |
| Constructor and Description |
|---|
Generator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSchema() |
protected boolean |
jobCompletion(org.apache.hadoop.mapreduce.Job job) |
int |
run(int numMappers,
long numNodes,
org.apache.hadoop.fs.Path tmpOutput,
Integer width,
Integer wrapMultiplier,
Integer numWalkers) |
int |
run(String[] args) |
int |
runGenerator(int numMappers,
long numNodes,
org.apache.hadoop.fs.Path tmpOutput,
Integer width,
Integer wrapMultiplier,
Integer numWalkers) |
int |
runRandomInputGenerator(int numMappers,
long numNodes,
org.apache.hadoop.fs.Path tmpOutput,
Integer width,
Integer wrapMultiplier,
Integer numWalkers) |
protected void |
setMapperForGenerator(org.apache.hadoop.mapreduce.Job job) |
boolean |
verify() |
private static final org.slf4j.Logger LOG
public static final String MULTIPLE_UNEVEN_COLUMNFAMILIES_KEY
$ ./bin/hbase org.apache.hadoop.hbase.test.IntegrationTestBigLinkedList -Dgenerator.multiple.columnfamilies=true generator 1 10 g
public org.apache.hadoop.mapreduce.Job job
Generator()
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionprotected void createSchema() throws IOException
IOExceptionpublic int runRandomInputGenerator(int numMappers, long numNodes, org.apache.hadoop.fs.Path tmpOutput, Integer width, Integer wrapMultiplier, Integer numWalkers) throws Exception
Exceptionpublic int runGenerator(int numMappers, long numNodes, org.apache.hadoop.fs.Path tmpOutput, Integer width, Integer wrapMultiplier, Integer numWalkers) throws Exception
Exceptionprotected boolean jobCompletion(org.apache.hadoop.mapreduce.Job job) throws IOException, InterruptedException, ClassNotFoundException
protected void setMapperForGenerator(org.apache.hadoop.mapreduce.Job job)
public int run(int numMappers, long numNodes, org.apache.hadoop.fs.Path tmpOutput, Integer width, Integer wrapMultiplier, Integer numWalkers) throws Exception
Exceptionpublic boolean verify()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.