public class TestAsyncTableRegionLocator extends AbstractTestRegionLocator
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.AsyncConnection |
CONN |
FAMILY, REGION_REPLICATION, SPLIT_KEYS, TABLE_NAME, UTIL| Constructor and Description |
|---|
TestAsyncTableRegionLocator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearCache(org.apache.hadoop.hbase.TableName tableName) |
protected List<org.apache.hadoop.hbase.HRegionLocation> |
getAllRegionLocations(org.apache.hadoop.hbase.TableName tableName) |
protected byte[][] |
getEndKeys(org.apache.hadoop.hbase.TableName tableName) |
protected org.apache.hadoop.hbase.HRegionLocation |
getRegionLocation(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
int replicaId) |
protected List<org.apache.hadoop.hbase.HRegionLocation> |
getRegionLocations(org.apache.hadoop.hbase.TableName tableName,
byte[] row) |
protected org.apache.hadoop.hbase.util.Pair<byte[][],byte[][]> |
getStartEndKeys(org.apache.hadoop.hbase.TableName tableName) |
protected byte[][] |
getStartKeys(org.apache.hadoop.hbase.TableName tableName) |
static void |
setUp() |
static void |
tearDown() |
startClusterAndCreateTable, tearDownAfterTest, testGetAllRegionLocations, testGetRegionLocation, testGetRegionLocations, testMeta, testStartEndKeyspublic static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.hbase.client.AsyncConnection CONN
public TestAsyncTableRegionLocator()
protected byte[][] getStartKeys(org.apache.hadoop.hbase.TableName tableName) throws IOException
getStartKeys in class AbstractTestRegionLocatorIOExceptionprotected byte[][] getEndKeys(org.apache.hadoop.hbase.TableName tableName) throws IOException
getEndKeys in class AbstractTestRegionLocatorIOExceptionprotected org.apache.hadoop.hbase.util.Pair<byte[][],byte[][]> getStartEndKeys(org.apache.hadoop.hbase.TableName tableName) throws IOException
getStartEndKeys in class AbstractTestRegionLocatorIOExceptionprotected org.apache.hadoop.hbase.HRegionLocation getRegionLocation(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) throws IOException
getRegionLocation in class AbstractTestRegionLocatorIOExceptionprotected List<org.apache.hadoop.hbase.HRegionLocation> getRegionLocations(org.apache.hadoop.hbase.TableName tableName, byte[] row) throws IOException
getRegionLocations in class AbstractTestRegionLocatorIOExceptionprotected List<org.apache.hadoop.hbase.HRegionLocation> getAllRegionLocations(org.apache.hadoop.hbase.TableName tableName) throws IOException
getAllRegionLocations in class AbstractTestRegionLocatorIOExceptionprotected void clearCache(org.apache.hadoop.hbase.TableName tableName) throws IOException
clearCache in class AbstractTestRegionLocatorIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.