public class TestSCPBase extends Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
(package private) static int |
RS_COUNT |
protected HBaseTestingUtility |
util |
Constructor and Description |
---|
TestSCPBase() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.client.Table |
createTable(org.apache.hadoop.hbase.TableName tableName) |
protected int |
getRegionReplication() |
protected long |
getSCPProcId(org.apache.hadoop.hbase.procedure2.ProcedureExecutor<?> procExec) |
void |
setup() |
protected void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
protected void |
startMiniCluster() |
void |
tearDown() |
protected void |
testRecoveryAndDoubleExecution(boolean carryingMeta,
boolean doubleExecution)
Run server crash procedure steps twice to test idempotency and that we are persisting all
needed state.
|
private static final org.slf4j.Logger LOG
static final int RS_COUNT
protected HBaseTestingUtility util
public TestSCPBase()
protected void setupConf(org.apache.hadoop.conf.Configuration conf)
protected void startMiniCluster() throws Exception
Exception
protected void testRecoveryAndDoubleExecution(boolean carryingMeta, boolean doubleExecution) throws Exception
Exception
protected long getSCPProcId(org.apache.hadoop.hbase.procedure2.ProcedureExecutor<?> procExec)
protected org.apache.hadoop.hbase.client.Table createTable(org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
protected int getRegionReplication()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.