Class TestRowTooBig
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRowTooBig
Test case to check HRS throws
RowTooBigException
when row
size exceeds configured limits.-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final HBaseTestingUtil
private static org.apache.hadoop.fs.Path
private static final org.apache.hadoop.hbase.client.TableDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
after()
static void
before()
void
Usecase: - create a row with 1M cells, 10 bytes in each - flush & run major compaction - try to Get whole row.void
Usecase: - create a row with 5 large cells (5 Mb each) - flush memstore but don't compact storefiles.
-
Field Details
-
CLASS_RULE
-
HTU
-
rootRegionDir
-
TEST_TD
-
-
Constructor Details
-
TestRowTooBig
public TestRowTooBig()
-
-
Method Details
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
testScannersSeekOnFewLargeCells
Usecase: - create a row with 5 large cells (5 Mb each) - flush memstore but don't compact storefiles. - try to Get whole row. OOME happened before we actually get to reading results, but during seeking, as each StoreFile gets it's own scanner, and each scanner seeks after the first KV.- Throws:
IOException
-
testScanAcrossManySmallColumns
Usecase: - create a row with 1M cells, 10 bytes in each - flush & run major compaction - try to Get whole row. OOME happened in StoreScanner.next(..).- Throws:
IOException
-