public class TestStoreFile
extends HBaseTestCase
| Constructor and Description |
|---|
TestStoreFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testBasicHalfMapFile()
Write a file and then assert that we can read from top and bottom halves
using two HalfMapFiles.
|
void |
testBloomFilter() |
void |
testBloomTypes() |
void |
testCacheOnWriteEvictOnClose() |
void |
testDataBlockEncodingMetaData()
Check if data block encoding information is saved correctly in HFile's
file info.
|
void |
testDeleteFamilyBloomFilter() |
void |
testHFileLink() |
void |
testMultipleTimestamps()
Test to ensure correctness when using StoreFile with multiple timestamps
|
void |
testReference()
Test that our mechanism of writing store files in one region to reference
store files in other regions works.
|
void |
testReferenceToHFileLink()
This test creates an hfile and then the dir structures and files to verify that references
to hfilelinks (created by snapshot clones) can be properly interpreted.
|
void |
testReseek()
Test for HBASE-8012
|
void |
testSeqIdComparator() |
static void |
writeStoreFile(StoreFile.Writer writer,
byte[] fam,
byte[] qualifier) |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testBasicHalfMapFile()
throws java.lang.Exception
java.lang.Exceptionpublic static void writeStoreFile(StoreFile.Writer writer,
byte[] fam,
byte[] qualifier)
throws java.io.IOException
java.io.IOExceptionpublic void testReference()
throws java.io.IOException
java.io.IOExceptionpublic void testHFileLink()
throws java.io.IOException
java.io.IOExceptionpublic void testReferenceToHFileLink()
throws java.io.IOException
java.io.IOExceptionpublic void testBloomFilter()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteFamilyBloomFilter()
throws java.lang.Exception
java.lang.Exceptionpublic void testReseek()
throws java.lang.Exception
java.lang.Exceptionpublic void testBloomTypes()
throws java.lang.Exception
java.lang.Exceptionpublic void testSeqIdComparator()
public void testMultipleTimestamps()
throws java.io.IOException
java.io.IOExceptionpublic void testCacheOnWriteEvictOnClose()
throws java.lang.Exception
java.lang.Exceptionpublic void testDataBlockEncodingMetaData()
throws java.io.IOException
java.io.IOException