Class TestStoreFileRefresherChore
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestStoreFileRefresherChore
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
org.junit.rules.TestName
private HBaseTestingUtility
private org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.client.TableDescriptor
getTableDesc
(org.apache.hadoop.hbase.TableName tableName, int regionReplication, boolean readOnly, byte[]... families) private org.apache.hadoop.hbase.client.TableDescriptor
getTableDesc
(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[]... families) private org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[] startKey, byte[] stopKey, int replicaId) private void
putData
(org.apache.hadoop.hbase.regionserver.Region region, int startRow, int numRows, byte[] qf, byte[]... families) void
setUp()
void
void
private void
verifyData
(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families) private void
verifyDataExpectFail
(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
testDir
-
name
-
-
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, byte[]... families) -
getTableDesc
private org.apache.hadoop.hbase.client.TableDescriptor getTableDesc(org.apache.hadoop.hbase.TableName tableName, int regionReplication, boolean readOnly, 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
-