static class IntegrationTestBigLinkedList.Verify extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
IntegrationTestBigLinkedList.Generator
do not have any holes.Modifier and Type | Class and Description |
---|---|
static class |
IntegrationTestBigLinkedList.Verify.Counts
Don't change the order of these enums.
|
static class |
IntegrationTestBigLinkedList.Verify.VerifyMapper |
static class |
IntegrationTestBigLinkedList.Verify.VerifyReducer
Per reducer, we output problem rows as byte arrasy so can be used as input for
subsequent investigative mapreduce jobs.
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.hadoop.io.BytesWritable |
DEF |
protected static org.apache.hadoop.io.BytesWritable |
DEF_LOST_FAMILIES |
protected org.apache.hadoop.mapreduce.Job |
job |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
Verify() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleFailure(org.apache.hadoop.mapreduce.Counters counters) |
int |
run(org.apache.hadoop.fs.Path outputDir,
int numReducers) |
int |
run(String[] args) |
int |
run(String outputDir,
int numReducers) |
boolean |
verify(long expectedReferenced) |
protected boolean |
verifyExpectedValues(long expectedReferenced,
org.apache.hadoop.mapreduce.Counters counters)
Verify the values in the Counters against the expected number of entries written.
|
protected boolean |
verifyUnexpectedValues(org.apache.hadoop.mapreduce.Counters counters)
Verify that the Counters don't contain values which indicate an outright failure from the Reducers.
|
private static final org.slf4j.Logger LOG
protected static final org.apache.hadoop.io.BytesWritable DEF
protected static final org.apache.hadoop.io.BytesWritable DEF_LOST_FAMILIES
protected org.apache.hadoop.mapreduce.Job job
Verify()
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
public int run(org.apache.hadoop.fs.Path outputDir, int numReducers) throws Exception
Exception
protected boolean verifyExpectedValues(long expectedReferenced, org.apache.hadoop.mapreduce.Counters counters)
expectedReferenced
- Expected number of referenced entrirescounters
- The Job's Counters objectprotected boolean verifyUnexpectedValues(org.apache.hadoop.mapreduce.Counters counters)
counters
- The Job's countersprotected void handleFailure(org.apache.hadoop.mapreduce.Counters counters) throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.