public class TestStoreFileRefresherChore extends Object
| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
TestStoreFileRefresherChore.FailingHRegionFileSystem  | 
(package private) static class  | 
TestStoreFileRefresherChore.StaleStorefileRefresherChore  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
org.junit.rules.TestName | 
name  | 
private HBaseTestingUtility | 
TEST_UTIL  | 
private org.apache.hadoop.fs.Path | 
testDir  | 
| Constructor and Description | 
|---|
TestStoreFileRefresherChore()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 | 
testIsStale()  | 
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)  | 
public static final HBaseClassTestRule CLASS_RULE
private HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.fs.Path testDir
public org.junit.rules.TestName name
public TestStoreFileRefresherChore()
public void setUp() throws IOException
IOExceptionprivate 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) throws IOException
IOExceptionprivate void putData(org.apache.hadoop.hbase.regionserver.Region region, int startRow, int numRows, byte[] qf, byte[]... families) throws IOException
IOExceptionprivate void verifyDataExpectFail(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families) throws IOException
IOExceptionprivate void verifyData(org.apache.hadoop.hbase.regionserver.Region newReg, int startRow, int numRows, byte[] qf, byte[]... families) throws IOException
IOExceptionpublic void testIsStale() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.