public class TestProcedureCleanup extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestProcedureCleanup.ExchangeProcedure |
static class |
TestProcedureCleanup.RootProcedure |
static class |
TestProcedureCleanup.SuspendProcedure |
static class |
TestProcedureCleanup.WaitProcedure |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.fs.FileSystem |
fs |
private static HBaseCommonTestingUtility |
htu |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.fs.Path |
logDir |
org.junit.rules.TestName |
name |
private static int |
PROCEDURE_EXECUTOR_SLOTS |
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<Void> |
procExecutor |
private static org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore |
procStore |
private static org.apache.hadoop.fs.Path |
testDir |
Constructor and Description |
---|
TestProcedureCleanup() |
Modifier and Type | Method and Description |
---|---|
private void |
corrupt(org.apache.hadoop.fs.FileStatus file) |
private void |
createProcExecutor() |
static void |
setUp() |
void |
testProcedureDeletedShouldClean() |
void |
testProcedureShouldNotCleanOnLoad() |
void |
testProcedureUpdatedShouldClean() |
void |
testResetDeleteWhenBuildingHoldingCleanupTracker() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int PROCEDURE_EXECUTOR_SLOTS
private static org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore procStore
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<Void> procExecutor
private static HBaseCommonTestingUtility htu
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.Path testDir
private static org.apache.hadoop.fs.Path logDir
public final org.junit.rules.TestName name
public TestProcedureCleanup()
private void createProcExecutor() throws Exception
Exception
public void testProcedureShouldNotCleanOnLoad() throws Exception
Exception
public void testProcedureUpdatedShouldClean() throws Exception
Exception
public void testProcedureDeletedShouldClean() throws Exception
Exception
private void corrupt(org.apache.hadoop.fs.FileStatus file) throws IOException
IOException
public void testResetDeleteWhenBuildingHoldingCleanupTracker() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.