Class TestStoreFileRefresherChore

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

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

  • Constructor Details

  • Method Details

    • setUp

      @BeforeEach public void setUp(org.junit.jupiter.api.TestInfo testInfo) throws IOException
      Throws:
      IOException
    • getTableDesc

      private org.apache.hadoop.hbase.client.TableDescriptor getTableDesc(org.apache.hadoop.hbase.TableName tableName, int regionReplication, String trackerName, byte[]... families)
    • getTableDesc

      private org.apache.hadoop.hbase.client.TableDescriptor getTableDesc(org.apache.hadoop.hbase.TableName tableName, int regionReplication, boolean readOnly, String trackerName, byte[]... families)
    • initHRegion

      private org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[] startKey, byte[] stopKey, int replicaId) throws IOException
      Throws:
      IOException
    • putData

      private void putData(org.apache.hadoop.hbase.regionserver.Region region, int startRow, int numRows, byte[] qf, byte[]... families) throws IOException
      Throws:
      IOException
    • verifyDataExpectFail

      private void verifyDataExpectFail(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families) throws IOException
      Throws:
      IOException
    • verifyData

      private void verifyData(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families) throws IOException
      Throws:
      IOException
    • testIsStale

      @Test public void testIsStale() throws IOException
      Throws:
      IOException
    • testRefreshReadOnlyTable

      @Test public void testRefreshReadOnlyTable() throws IOException
      Throws:
      IOException