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
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testConcurrentWrites() throws Exception
Exceptionpublic void testMoreRegionsThanBound() throws Exception
Exceptionpublic void testBoundsGreaterThanDefault() throws Exception
Exceptionpublic void testMoreRegionsThanBoundWithBoundsGreaterThanDefault() throws Exception
Exceptionpublic void setMembershipDedups() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.