public class TestBlocksRead extends HBaseTestCase
HBaseTestCase.ClientScannerIncommon, HBaseTestCase.FlushCache, HBaseTestCase.HRegionIncommon, HBaseTestCase.HTableIncommon, HBaseTestCase.Incommon, HBaseTestCase.InternalScannerIncommon, HBaseTestCase.ScannerIncommonCOLUMNS, conf, fam1, fam2, fam3, FIRST_CHAR, fs, fsTableDescriptors, LAST_CHAR, MAXVERSIONS, meta, PUNCTUATION, START_KEY, START_KEY_BYTES, testDir, testUtil| Constructor and Description |
|---|
TestBlocksRead() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp()
Note that this method must be called after the mini hdfs cluster has
started or we end up with a local file system.
|
protected void |
tearDown() |
void |
testBlocksRead()
Test # of blocks read for some simple seek cases.
|
void |
testBlocksStoredWhenCachingDisabled()
Test # of blocks read to ensure disabling cache-fill on Scan works.
|
void |
testLazySeekBlocksRead()
Test # of blocks read (targeted at some of the cases Lazy Seek optimizes).
|
void |
testLazySeekBlocksReadWithDelete() |
addContent, addContent, addContent, addContent, addContent, addContent, addContent, assertByteEquals, assertEquals, assertResultEquals, closeRootAndMeta, createMetaRegion, createNewHRegion, createNewHRegion, createTableDescriptor, createTableDescriptor, createTableDescriptor, getUnitTestdir, openClosedRegion, shutdownDfsprotected void setUp()
throws Exception
HBaseTestCasesetUp in class HBaseTestCaseExceptionHBaseTestCase.setUp()protected void tearDown()
throws Exception
tearDown in class HBaseTestCaseExceptionpublic void testBlocksRead()
throws Exception
Exceptionpublic void testLazySeekBlocksRead()
throws Exception
Exceptionpublic void testBlocksStoredWhenCachingDisabled()
throws Exception
Exception