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.VerifyCounts
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 arrays 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)
protected boolean verifyUnexpectedValues(org.apache.hadoop.mapreduce.Counters counters)
protected void handleFailure(org.apache.hadoop.mapreduce.Counters counters) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.