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
Exception
public void testMergeStoreFile() throws Exception
Exception
public void testCommitDaughterRegionNoFiles() throws Exception
Exception
public void testCommitDaughterRegionWithFiles() throws Exception
Exception
public void testCommitMergedRegion() throws Exception
Exception
private void waitForSplitProcComplete(int attempts, int waitTime) throws Exception
Exception
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) throws IOException
IOException
private void validateResultingFile(String originalRegion, org.apache.hadoop.fs.Path result)
private void putThreeRowsAndFlush(org.apache.hadoop.hbase.TableName table) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.