public class TestBlocksRead extends HBaseTestCase
HBaseTestCase.ClientScannerIncommon, HBaseTestCase.FlushCache, HBaseTestCase.HRegionIncommon, HBaseTestCase.HTableIncommon, HBaseTestCase.Incommon, HBaseTestCase.InternalScannerIncommon, HBaseTestCase.ScannerIncommon
COLUMNS, 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, shutdownDfs
protected void setUp() throws Exception
HBaseTestCase
setUp
in class HBaseTestCase
Exception
HBaseTestCase.setUp()
protected void tearDown() throws Exception
tearDown
in class HBaseTestCase
Exception
public void testBlocksRead() throws Exception
Exception
public void testLazySeekBlocksRead() throws Exception
Exception
public void testBlocksStoredWhenCachingDisabled() throws Exception
Exception