public class TestMasterProcedureWalLease extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
protected static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestMasterProcedureWalLease() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> |
getMasterProcedureExecutor() |
void |
setup() |
private static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
void |
tearDown() |
void |
testWALfencing(boolean walRolls) |
void |
testWALfencingWithoutWALRolling()
Tests proper fencing in case the current WAL store is fenced
|
void |
testWALfencingWithWALRolling()
Tests proper fencing in case the current WAL store does not receive writes until after the
new WAL does a couple of WAL rolls.
|
void |
testWalRecoverLease() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
protected static final HBaseTestingUtility UTIL
public TestMasterProcedureWalLease()
private static void setupConf(org.apache.hadoop.conf.Configuration conf)
public void testWalRecoverLease() throws Exception
Exception
public void testWALfencingWithoutWALRolling() throws IOException
IOException
public void testWALfencingWithWALRolling() throws IOException
IOException
public void testWALfencing(boolean walRolls) throws IOException
IOException
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.