public class TestBoundedRegionGroupingStrategy extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static org.apache.hadoop.hdfs.DistributedFileSystem |
FS |
private static org.slf4j.Logger |
LOG |
private static HBaseTestingUtility |
TEST_UTIL |
String |
walProvider |
Constructor and Description |
---|
TestBoundedRegionGroupingStrategy() |
Modifier and Type | Method and Description |
---|---|
static Iterable<Object[]> |
data() |
void |
setMembershipDedups()
Ensure that we can use Set.add to deduplicate WALs
|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testBoundsGreaterThanDefault() |
void |
testConcurrentWrites()
Write to a log file with three concurrent threads and verifying all data is written.
|
void |
testMoreRegionsThanBound()
Make sure we can successfully run with more regions then our bound.
|
void |
testMoreRegionsThanBoundWithBoundsGreaterThanDefault() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration CONF
private static org.apache.hadoop.hdfs.DistributedFileSystem FS
public String walProvider
public TestBoundedRegionGroupingStrategy()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testConcurrentWrites() throws Exception
Exception
public void testMoreRegionsThanBound() throws Exception
Exception
public void testBoundsGreaterThanDefault() throws Exception
Exception
public void testMoreRegionsThanBoundWithBoundsGreaterThanDefault() throws Exception
Exception
public void setMembershipDedups() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.