Class TestFullLogReconstruction

java.lang.Object
org.apache.hadoop.hbase.TestFullLogReconstruction

@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests") public class TestFullLogReconstruction extends Object
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • TEST_UTIL

      private static final HBaseTestingUtil TEST_UTIL
    • TABLE_NAME

      private static final org.apache.hadoop.hbase.TableName TABLE_NAME
    • FAMILY

      private static final byte[] FAMILY
  • Constructor Details

  • Method Details

    • setUpBeforeClass

      @BeforeAll public static void setUpBeforeClass() throws Exception
      Throws:
      Exception
    • tearDownAfterClass

      @AfterAll public static void tearDownAfterClass() throws Exception
      Throws:
      Exception
    • testReconstruction

      @Test public void testReconstruction() throws Exception
      Test the whole reconstruction loop. Build a table with regions aaa to zzz and load every one of them multiple times with the same date and do a flush at some point. Kill one of the region servers and scan the table. We should see all the rows.
      Throws:
      Exception