public class TestDirectStoreSplitsMerges extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
static byte[] |
FAMILY_NAME |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestDirectStoreSplitsMerges() |
| Modifier and Type | Method and Description |
|---|---|
static void |
after() |
private org.apache.hadoop.fs.Path |
mergeFileFromRegion(org.apache.hadoop.hbase.regionserver.HRegionFileSystem regionFS,
org.apache.hadoop.hbase.regionserver.HRegion regionToMerge,
org.apache.hadoop.hbase.regionserver.HStoreFile file) |
private void |
putThreeRowsAndFlush(org.apache.hadoop.hbase.TableName table) |
static void |
setup() |
void |
testCommitDaughterRegionNoFiles() |
void |
testCommitDaughterRegionWithFiles() |
void |
testCommitMergedRegion() |
void |
testMergeStoreFile() |
void |
testSplitStoreDir() |
private void |
validateResultingFile(String originalRegion,
org.apache.hadoop.fs.Path result) |
private void |
waitForSplitProcComplete(int attempts,
int waitTime) |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility TEST_UTIL
public static final byte[] FAMILY_NAME
public org.junit.rules.TestName name
public TestDirectStoreSplitsMerges()
public void testSplitStoreDir() throws Exception
Exceptionpublic void testMergeStoreFile() throws Exception
Exceptionpublic void testCommitDaughterRegionNoFiles() throws Exception
Exceptionpublic void testCommitDaughterRegionWithFiles() throws Exception
Exceptionpublic void testCommitMergedRegion() throws Exception
Exceptionprivate void waitForSplitProcComplete(int attempts, int waitTime) throws Exception
Exceptionprivate org.apache.hadoop.fs.Path mergeFileFromRegion(org.apache.hadoop.hbase.regionserver.HRegionFileSystem regionFS, org.apache.hadoop.hbase.regionserver.HRegion regionToMerge, org.apache.hadoop.hbase.regionserver.HStoreFile file) throws IOException
IOExceptionprivate void validateResultingFile(String originalRegion, org.apache.hadoop.fs.Path result)
private void putThreeRowsAndFlush(org.apache.hadoop.hbase.TableName table) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.