public class TestVerifyReplicationRecompareRunnable extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.mapreduce.Mapper.Context |
context |
private org.apache.hadoop.hbase.client.Table |
replicatedTable |
private org.apache.hadoop.hbase.client.Table |
sourceTable |
Constructor and Description |
---|
TestVerifyReplicationRecompareRunnable() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
genBytes() |
(package private) static org.apache.hadoop.hbase.client.Result |
genResult(int cols) |
void |
itHandlesExceptionOnRecompare() |
void |
itRecomparesBadRow() |
void |
itRecomparesGoodRow() |
void |
setUp() |
public static final HBaseClassTestRule CLASS_RULE
@Mock private org.apache.hadoop.hbase.client.Table sourceTable
@Mock private org.apache.hadoop.hbase.client.Table replicatedTable
@Mock private org.apache.hadoop.mapreduce.Mapper.Context context
public TestVerifyReplicationRecompareRunnable()
static org.apache.hadoop.hbase.client.Result genResult(int cols)
static byte[] genBytes()
public void setUp()
public void itRecomparesGoodRow() throws IOException
IOException
public void itRecomparesBadRow() throws IOException
IOException
public void itHandlesExceptionOnRecompare() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.