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, testTakeSnapshotAfterMerge
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestMobFlushSnapshotFromClient()
public static void setupCluster() throws Exception
Exception
protected static void setupConf(org.apache.hadoop.conf.Configuration conf)
protected void createTable() throws Exception
createTable
in class TestFlushSnapshotFromClient
Exception
protected void verifyRowCount(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException
verifyRowCount
in class TestFlushSnapshotFromClient
IOException
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws IOException
countRows
in class TestFlushSnapshotFromClient
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.