public class TestHStore extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHStore.DummyStoreEngine |
static class |
TestHStore.MyCompactingMemStore |
static class |
TestHStore.MyCompactingMemStoreWithCustomCompactor |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestHStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Setup
|
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAge() |
void |
testCreateScannerAndSnapshotConcurrently() |
void |
testCreateWriter()
Verify that compression and data block encoding are respected by the
Store.createWriterInTmp() method, used on store flush.
|
void |
testDeleteExpiredStoreFiles() |
void |
testDeleteExpiredStoreFiles(int minVersions) |
void |
testEmptyStoreFile()
Test for hbase-1686.
|
void |
testFlushBeforeCompletingScanWithFilter() |
void |
testFlushBeforeCompletingScanWithFilterHint() |
void |
testFlushBeforeCompletingScanWoFilter() |
void |
testFlushSizeSizing()
Test we do not lose data if we fail a flush and then close.
|
void |
testGet_FromFilesOnly()
Getting data from files only
|
void |
testGet_FromMemStoreAndFiles()
Getting data from memstore and files
|
void |
testGet_FromMemStoreOnly()
Getting data from memstore only
|
void |
testHandleErrorsInFlush() |
void |
testLowestModificationTime() |
void |
testMultipleTimestamps()
Test to ensure correctness when using Stores with multiple timestamps
|
void |
testNumberOfMemStoreScannersAfterFlush() |
void |
testReclaimChunkWhenScaning() |
void |
testRefreshStoreFiles() |
void |
testRefreshStoreFilesNotChanged() |
void |
testRunDoubleMemStoreCompactors()
If there are two running InMemoryFlushRunnable, the later InMemoryFlushRunnable
may change the versionedList.
|
void |
testScanWithDoubleFlush() |
void |
testSplitWithEmptyColFam()
Test for HBASE-3492 - Test split on empty colfam (no store files).
|
void |
testStoreUsesConfigurationFromHcdAndHtd() |
void |
testStoreUsesSearchEngineOverride() |
void |
testSwitchingPreadtoStreamParallelyWithCompactionDischarger() |
void |
testTimeRangeIfSomeCellsAreDroppedInFlush() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestHStore()
public void setUp() throws IOException
IOExceptionpublic void testFlushSizeSizing() throws Exception
Exceptionpublic void testCreateWriter() throws Exception
Exceptionpublic void testDeleteExpiredStoreFiles() throws Exception
Exceptionpublic void testDeleteExpiredStoreFiles(int minVersions) throws Exception
Exceptionpublic void testLowestModificationTime() throws Exception
Exceptionpublic void testEmptyStoreFile() throws IOException
IOExceptionpublic void testGet_FromMemStoreOnly() throws IOException
IOExceptionpublic void testTimeRangeIfSomeCellsAreDroppedInFlush() throws IOException
IOExceptionpublic void testGet_FromFilesOnly() throws IOException
IOExceptionpublic void testGet_FromMemStoreAndFiles() throws IOException
IOExceptionpublic static void tearDownAfterClass() throws IOException
IOExceptionpublic void testHandleErrorsInFlush() throws Exception
Exceptionpublic void testMultipleTimestamps() throws IOException
IOExceptionpublic void testSplitWithEmptyColFam() throws IOException
IOException - When the IO operations fail.public void testStoreUsesConfigurationFromHcdAndHtd() throws Exception
Exceptionpublic void testStoreUsesSearchEngineOverride() throws Exception
Exceptionpublic void testRefreshStoreFiles() throws Exception
Exceptionpublic void testRefreshStoreFilesNotChanged() throws IOException
IOExceptionpublic void testNumberOfMemStoreScannersAfterFlush() throws IOException
IOExceptionpublic void testFlushBeforeCompletingScanWoFilter() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testFlushBeforeCompletingScanWithFilter() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testFlushBeforeCompletingScanWithFilterHint() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testCreateScannerAndSnapshotConcurrently() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testScanWithDoubleFlush() throws IOException
IOExceptionpublic void testReclaimChunkWhenScaning() throws IOException
IOExceptionpublic void testRunDoubleMemStoreCompactors() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testAge() throws IOException
IOExceptionpublic void testSwitchingPreadtoStreamParallelyWithCompactionDischarger() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.