public class TestLoadIncrementalHFiles
extends java.lang.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(java.lang.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 static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionprotected static void setupNamespace()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleLoadWithMap()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleLoad()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleLoadWithFileCopy()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionCrossingLoad()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionCrossingRowBloom()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionCrossingRowColBloom()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleHFileSplit()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionCrossingHFileSplit()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionCrossingHFileSplitRowBloom()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionCrossingHFileSplitRowColBloom()
throws java.lang.Exception
java.lang.Exceptionpublic static int loadHFiles(java.lang.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 java.lang.Exception
java.lang.Exceptionpublic void htestTagsSurviveBulkLoadSplit()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonexistentColumnFamilyLoad()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonHfileFolderWithUnmatchedFamilyName()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonHfileFolder()
throws java.lang.Exception
java.lang.Exceptionpublic void testSplitStoreFile()
throws java.io.IOException
java.io.IOExceptionpublic void testSplitStoreFileWithNoneToNone()
throws java.io.IOException
java.io.IOExceptionpublic void testSplitStoreFileWithEncodedToEncoded()
throws java.io.IOException
java.io.IOExceptionpublic void testSplitStoreFileWithEncodedToNone()
throws java.io.IOException
java.io.IOExceptionpublic void testSplitStoreFileWithNoneToEncoded()
throws java.io.IOException
java.io.IOExceptionpublic void testInferBoundaries()
public void testLoadTooMayHFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void testWithoutAnExistingTableAndCreateTableSetToNo()
throws java.lang.Exception
java.lang.Exceptionpublic void testTableWithCFNameStartWithUnderScore()
throws java.lang.Exception
java.lang.Exception