Class TestRowTooBig

java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRowTooBig

public class TestRowTooBig extends Object
Test case to check HRS throws RowTooBigException when row size exceeds configured limits.
  • Field Details

  • Constructor Details

  • Method Details

    • before

      public static void before() throws Exception
      Throws:
      Exception
    • after

      public static void after() throws Exception
      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