public class TestRegionObserverInterface extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestRegionObserverInterface.EvenOnlyCompactor |
private static class |
TestRegionObserverInterface.PreWALAppendWALActionsListener |
Modifier and Type | Field and Description |
---|---|
static byte[] |
A |
static byte[] |
B |
static byte[] |
C |
static HBaseClassTestRule |
CLASS_RULE |
private static MiniHBaseCluster |
cluster |
static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
static byte[] |
ROW |
static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private static HBaseTestingUtility |
util |
Constructor and Description |
---|
TestRegionObserverInterface() |
Modifier and Type | Method and Description |
---|---|
void |
bulkLoadHFileTest() |
private static void |
createHFile(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
byte[] family,
byte[] qualifier) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAppendHook() |
void |
testCheckAndAppendHooks() |
void |
testCheckAndDeleteHooks() |
void |
testCheckAndIncrementHooks() |
void |
testCheckAndPutHooks() |
void |
testCheckAndRowMutationsHooks() |
void |
testCompactionOverride()
Tests overriding compaction handling via coprocessor hooks n
|
void |
testHBASE14489() |
void |
testHBase3583() |
void |
testHBase3758() |
void |
testIncrementHook() |
void |
testPreWALAppend() |
private void |
testPreWALAppendHook(org.apache.hadoop.hbase.client.Table table,
org.apache.hadoop.hbase.TableName tableName) |
void |
testPreWALAppendIsWrittenToWAL() |
void |
testPreWALAppendNotCalledOnMetaEdit() |
void |
testPreWALRestoreSkip() |
void |
testRecovery() |
void |
testRegionObserver() |
void |
testRowMutation() |
private void |
verifyMethodResult(Class<?> coprocessor,
String[] methodName,
org.apache.hadoop.hbase.TableName tableName,
Object[] value) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public static final org.apache.hadoop.hbase.TableName TEST_TABLE
public static final byte[] FAMILY
public static final byte[] A
public static final byte[] B
public static final byte[] C
public static final byte[] ROW
private static HBaseTestingUtility util
private static MiniHBaseCluster cluster
public org.junit.rules.TestName name
public TestRegionObserverInterface()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testRegionObserver() throws IOException
IOException
public void testRowMutation() throws IOException
IOException
public void testIncrementHook() throws IOException
IOException
public void testCheckAndPutHooks() throws IOException
IOException
public void testCheckAndDeleteHooks() throws IOException
IOException
public void testCheckAndIncrementHooks() throws Exception
Exception
public void testCheckAndAppendHooks() throws Exception
Exception
public void testCheckAndRowMutationsHooks() throws Exception
Exception
public void testAppendHook() throws IOException
IOException
public void testHBase3583() throws IOException
IOException
public void testHBASE14489() throws IOException
IOException
public void testHBase3758() throws IOException
IOException
public void testCompactionOverride() throws Exception
Exception
public void bulkLoadHFileTest() throws Exception
Exception
public void testRecovery() throws Exception
Exception
public void testPreWALRestoreSkip() throws Exception
Exception
private void testPreWALAppendHook(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
public void testPreWALAppend() throws Exception
Exception
public void testPreWALAppendIsWrittenToWAL() throws Exception
Exception
public void testPreWALAppendNotCalledOnMetaEdit() throws Exception
Exception
private void verifyMethodResult(Class<?> coprocessor, String[] methodName, org.apache.hadoop.hbase.TableName tableName, Object[] value) throws IOException
IOException
private static void createHFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, byte[] family, byte[] qualifier) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.