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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate HBaseTestingUtilprivate org.apache.hadoop.fs.Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.client.TableDescriptorgetTableDesc(org.apache.hadoop.hbase.TableName tableName, int regionReplication, boolean readOnly, String trackerName, byte[]... families) private org.apache.hadoop.hbase.client.TableDescriptorgetTableDesc(org.apache.hadoop.hbase.TableName tableName, int regionReplication, String trackerName, byte[]... families) private org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[] startKey, byte[] stopKey, int replicaId) private voidputData(org.apache.hadoop.hbase.regionserver.Region region, int startRow, int numRows, byte[] qf, byte[]... families) voidsetUp(org.junit.jupiter.api.TestInfo testInfo) voidvoidprivate voidverifyData(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families) private voidverifyDataExpectFail(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families)
-
Field Details
-
TEST_UTIL
-
testDir
-
methodName
-
-
Constructor Details
-
TestStoreFileRefresherChore
public TestStoreFileRefresherChore()
-
-
Method Details
-
setUp
- 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
- Throws:
IOException
-
testRefreshReadOnlyTable
- Throws:
IOException
-