public class TestStore
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestStore.DummyStoreEngine |
| Constructor and Description |
|---|
TestStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Setup
|
void |
tearDown() |
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 |
testFlushSizeAccounting()
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 |
testICV_negMemstoreSize() |
void |
testIncrementColumnValue_ICVDuringFlush() |
void |
testIncrementColumnValue_SnapshotFlushCombo() |
void |
testLowestModificationTime() |
void |
testMultipleTimestamps()
Test to ensure correctness when using Stores with multiple timestamps
|
void |
testRefreshStoreFiles() |
void |
testRefreshStoreFilesNotChanged() |
void |
testSplitWithEmptyColFam()
Test for HBASE-3492 - Test split on empty colfam (no store files).
|
void |
testStoreUsesConfigurationFromHcdAndHtd() |
void |
testStoreUsesSearchEngineOverride() |
public void setUp()
throws java.io.IOException
java.io.IOExceptionpublic void testFlushSizeAccounting()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateWriter()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteExpiredStoreFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteExpiredStoreFiles(int minVersions)
throws java.lang.Exception
java.lang.Exceptionpublic void testLowestModificationTime()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyStoreFile()
throws java.io.IOException
java.io.IOExceptionpublic void testGet_FromMemStoreOnly()
throws java.io.IOException
java.io.IOExceptionpublic void testGet_FromFilesOnly()
throws java.io.IOException
java.io.IOExceptionpublic void testGet_FromMemStoreAndFiles()
throws java.io.IOException
java.io.IOExceptionpublic void testIncrementColumnValue_ICVDuringFlush()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testICV_negMemstoreSize()
throws java.io.IOException
java.io.IOExceptionpublic void testIncrementColumnValue_SnapshotFlushCombo()
throws java.lang.Exception
java.lang.Exceptionpublic void testHandleErrorsInFlush()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultipleTimestamps()
throws java.io.IOException
java.io.IOExceptionpublic void testSplitWithEmptyColFam()
throws java.io.IOException
java.io.IOException - When the IO operations fail.public void testStoreUsesConfigurationFromHcdAndHtd()
throws java.lang.Exception
java.lang.Exceptionpublic void testStoreUsesSearchEngineOverride()
throws java.lang.Exception
java.lang.Exceptionpublic void testRefreshStoreFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void testRefreshStoreFilesNotChanged()
throws java.io.IOException
java.io.IOException