public class TestLoadIncrementalHFiles extends Object
| Modifier and Type | Field and Description |
|---|---|
TestName |
tn |
| Constructor and Description |
|---|
TestLoadIncrementalHFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
htestTagsSurviveBulkLoadSplit()
Test that tags survive through a bulk load that needs to split hfiles.
|
static int |
loadHFiles(String testName,
HTableDescriptor htd,
HBaseTestingUtility util,
byte[] fam,
byte[] qual,
boolean preCreateTable,
byte[][] tableSplitKeys,
byte[][][] hfileRanges,
boolean useMap,
boolean deleteFile,
boolean copyFiles,
int initRowCount,
int factor,
boolean managed) |
static void |
setUpBeforeClass() |
protected static void |
setupNamespace() |
static void |
tearDownAfterClass() |
void |
testInferBoundaries() |
void |
testLoadTooMayHFiles() |
void |
testNonexistentColumnFamilyLoad()
Test loading into a column family that does not exist.
|
void |
testNonHfileFolder() |
void |
testNonHfileFolderWithUnmatchedFamilyName() |
void |
testRegionCrossingHFileSplit()
Test case that creates some regions and loads HFiles that cross the boundaries
and have different region boundaries than the table pre-split.
|
void |
testRegionCrossingHFileSplitRowBloom()
Test case that creates some regions and loads HFiles that cross the boundaries
have a ROW bloom filter and a different region boundaries than the table pre-split.
|
void |
testRegionCrossingHFileSplitRowColBloom()
Test case that creates some regions and loads HFiles that cross the boundaries
have a ROWCOL bloom filter and a different region boundaries than the table pre-split.
|
void |
testRegionCrossingLoad()
Test case that creates some regions and loads
HFiles that cross the boundaries of those regions
|
void |
testRegionCrossingRowBloom()
Test loading into a column family that has a ROW bloom filter.
|
void |
testRegionCrossingRowColBloom()
Test loading into a column family that has a ROWCOL bloom filter.
|
void |
testSimpleHFileSplit()
Test case that creates some regions and loads HFiles that have
different region boundaries than the table pre-split.
|
void |
testSimpleLoad()
Test case that creates some regions and loads
HFiles that fit snugly inside those regions
|
void |
testSimpleLoadWithFileCopy() |
void |
testSimpleLoadWithMap() |
void |
testSplitStoreFile() |
void |
testSplitStoreFileWithEncodedToEncoded() |
void |
testSplitStoreFileWithEncodedToNone() |
void |
testSplitStoreFileWithNoneToEncoded() |
void |
testSplitStoreFileWithNoneToNone() |
void |
testTableWithCFNameStartWithUnderScore() |
void |
testWithoutAnExistingTableAndCreateTableSetToNo() |
public void testSimpleLoad()
throws Exception
Exceptionpublic void testSimpleLoadWithFileCopy()
throws Exception
Exceptionpublic void testRegionCrossingLoad()
throws Exception
Exceptionpublic void testRegionCrossingRowBloom()
throws Exception
Exceptionpublic void testRegionCrossingRowColBloom()
throws Exception
Exceptionpublic void testSimpleHFileSplit()
throws Exception
Exceptionpublic void testRegionCrossingHFileSplit()
throws Exception
Exceptionpublic void testRegionCrossingHFileSplitRowBloom()
throws Exception
Exceptionpublic void testRegionCrossingHFileSplitRowColBloom()
throws Exception
Exceptionpublic static int loadHFiles(String testName, HTableDescriptor htd, HBaseTestingUtility util, byte[] fam, byte[] qual, boolean preCreateTable, byte[][] tableSplitKeys, byte[][][] hfileRanges, boolean useMap, boolean deleteFile, boolean copyFiles, int initRowCount, int factor, boolean managed) throws Exception
Exceptionpublic void htestTagsSurviveBulkLoadSplit()
throws Exception
Exceptionpublic void testNonexistentColumnFamilyLoad()
throws Exception
Exceptionpublic void testNonHfileFolderWithUnmatchedFamilyName()
throws Exception
Exceptionpublic void testSplitStoreFile()
throws IOException
IOExceptionpublic void testSplitStoreFileWithNoneToNone()
throws IOException
IOExceptionpublic void testSplitStoreFileWithEncodedToEncoded()
throws IOException
IOExceptionpublic void testSplitStoreFileWithEncodedToNone()
throws IOException
IOExceptionpublic void testSplitStoreFileWithNoneToEncoded()
throws IOException
IOExceptionpublic void testInferBoundaries()
public void testWithoutAnExistingTableAndCreateTableSetToNo()
throws Exception
Exception