Class IntegrationTestBulkLoad.LinkedListCheckingReducer

java.lang.Object
org.apache.hadoop.mapreduce.Reducer<IntegrationTestBulkLoad.LinkKey,IntegrationTestBulkLoad.LinkChain,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.LinkedListCheckingReducer
Enclosing class:
IntegrationTestBulkLoad

public static class IntegrationTestBulkLoad.LinkedListCheckingReducer extends org.apache.hadoop.mapreduce.Reducer<IntegrationTestBulkLoad.LinkKey,IntegrationTestBulkLoad.LinkChain,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Class that does the actual checking of the links. All links in the chain should be grouped and sorted when sent to this class. Then the chain will be traversed making sure that no link is missing and that the chain is the correct length. This will throw an exception if anything is not correct. That causes the job to fail if any data is corrupt.