final class RegionReplicaTestHelper extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
RegionReplicaTestHelper.Locator |
Modifier | Constructor and Description |
---|---|
private |
RegionReplicaTestHelper() |
Modifier and Type | Method and Description |
---|---|
(package private) static Optional<org.apache.hadoop.hbase.ServerName> |
getRSCarryingReplica(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
int replicaId) |
(package private) static org.apache.hadoop.hbase.ServerName |
moveRegion(HBaseTestingUtility util,
org.apache.hadoop.hbase.HRegionLocation currentLoc)
Return the new location.
|
(package private) static void |
testLocator(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
RegionReplicaTestHelper.Locator locator) |
(package private) static void |
waitUntilAllMetaReplicasHavingRegionLocation(org.apache.hadoop.hbase.client.AsyncRegistry registry,
int regionReplication) |
private RegionReplicaTestHelper()
static void waitUntilAllMetaReplicasHavingRegionLocation(org.apache.hadoop.hbase.client.AsyncRegistry registry, int regionReplication) throws IOException
IOException
static Optional<org.apache.hadoop.hbase.ServerName> getRSCarryingReplica(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, int replicaId)
static org.apache.hadoop.hbase.ServerName moveRegion(HBaseTestingUtility util, org.apache.hadoop.hbase.HRegionLocation currentLoc) throws Exception
Exception
static void testLocator(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, RegionReplicaTestHelper.Locator locator) throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.