public class TestMobFlushSnapshotFromClient extends TestFlushSnapshotFromClient
This is an end-to-end test for the snapshot utility TODO This is essentially a clone of TestSnapshotFromClient. This is worth refactoring this because there will be a few more flavors of snapshots that need to run these tests.
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
admin, DEFAULT_NUM_ROWS, NUM_RS, TABLE_NAME, TEST_FAM, UTIL| Constructor and Description |
|---|
TestMobFlushSnapshotFromClient() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
countRows(org.apache.hadoop.hbase.client.Table table,
byte[]... families) |
protected void |
createTable() |
static void |
setupCluster() |
protected static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
protected void |
verifyRowCount(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
long expectedRows) |
cleanupTest, setup, tearDown, testAsyncFlushSnapshot, testFlushCreateListDestroy, testFlushTableSnapshot, testFlushTableSnapshotWithProcedure, testSkipFlushTableSnapshot, testSnapshotFailsOnNonExistantTable, testSnapshotStateAfterMerge, testTakeSnapshotAfterMergepublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestMobFlushSnapshotFromClient()
public static void setupCluster() throws Exception
Exceptionprotected static void setupConf(org.apache.hadoop.conf.Configuration conf)
protected void createTable() throws Exception
createTable in class TestFlushSnapshotFromClientExceptionprotected void verifyRowCount(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException
verifyRowCount in class TestFlushSnapshotFromClientIOExceptionprotected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws IOException
countRows in class TestFlushSnapshotFromClientIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.