public class TestReplicationWALEdits extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static byte[] |
F1 |
private static byte[] |
F2 |
private static org.apache.hadoop.hbase.client.RegionInfo |
RI |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
Constructor and Description |
---|
TestReplicationWALEdits() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.wal.WALEdit |
getBulkLoadWALEdit(NavigableMap<byte[],Integer> scope) |
void |
testBulkLoadWALEdits() |
void |
testBulkLoadWALEditsWithoutBulkLoadReplicationEnabled() |
void |
testCompactionWALEdits()
Test for HBASE-9038, Replication.scopeWALEdits would NPE if it wasn't filtering out the
compaction WALEdit.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.conf.Configuration CONF
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] F1
private static final byte[] F2
private static final org.apache.hadoop.hbase.client.RegionInfo RI
public TestReplicationWALEdits()
public void testCompactionWALEdits() throws Exception
Exception
private org.apache.hadoop.hbase.wal.WALEdit getBulkLoadWALEdit(NavigableMap<byte[],Integer> scope)
public void testBulkLoadWALEditsWithoutBulkLoadReplicationEnabled() throws Exception
Exception
public void testBulkLoadWALEdits() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.