public class TestReopenTableRegionsProcedureBatching extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestReopenTableRegionsProcedureBatching.StuckRegion |
Modifier and Type | Field and Description |
---|---|
private static int |
BACKOFF_MILLIS_PER_RS |
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static int |
REOPEN_BATCH_SIZE_MAX |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtil |
UTIL |
Constructor and Description |
---|
TestReopenTableRegionsProcedureBatching() |
Modifier and Type | Method and Description |
---|---|
private void |
confirmBatchSize(int expectedBatchSize,
Set<TestReopenTableRegionsProcedureBatching.StuckRegion> stuckRegions,
org.apache.hadoop.hbase.master.procedure.ReopenTableRegionsProcedure proc) |
static void |
setUp() |
private TestReopenTableRegionsProcedureBatching.StuckRegion |
stickRegion(org.apache.hadoop.hbase.master.assignment.AssignmentManager am,
org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> procExec,
org.apache.hadoop.hbase.client.RegionInfo regionInfo) |
static void |
tearDown() |
void |
testBatchSizeDoesNotOverflow() |
void |
testDefaultMaxBatchSize() |
void |
testNegativeBatchSizeDoesNotBreak() |
void |
testSmallMaxBatchSize() |
private void |
unstickRegion(TestReopenTableRegionsProcedureBatching.StuckRegion stuckRegion) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil UTIL
private static final int BACKOFF_MILLIS_PER_RS
private static final int REOPEN_BATCH_SIZE_MAX
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] CF
public TestReopenTableRegionsProcedureBatching()
public void testSmallMaxBatchSize() throws IOException
IOException
public void testDefaultMaxBatchSize() throws IOException
IOException
public void testNegativeBatchSizeDoesNotBreak() throws IOException
IOException
public void testBatchSizeDoesNotOverflow()
private void confirmBatchSize(int expectedBatchSize, Set<TestReopenTableRegionsProcedureBatching.StuckRegion> stuckRegions, org.apache.hadoop.hbase.master.procedure.ReopenTableRegionsProcedure proc)
private TestReopenTableRegionsProcedureBatching.StuckRegion stickRegion(org.apache.hadoop.hbase.master.assignment.AssignmentManager am, org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> procExec, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
private void unstickRegion(TestReopenTableRegionsProcedureBatching.StuckRegion stuckRegion)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.