public class TestRegionReplicasAreDistributed extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
f |
private static HBaseTestingUtility |
HTU |
private static org.slf4j.Logger |
LOG |
private static int |
NB_SERVERS |
(package private) Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> |
serverVsOnlineRegions |
(package private) Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> |
serverVsOnlineRegions2 |
(package private) Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> |
serverVsOnlineRegions3 |
(package private) Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> |
serverVsOnlineRegions4 |
private static org.apache.hadoop.hbase.client.Table |
table |
Constructor and Description |
---|
TestRegionReplicasAreDistributed() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
before() |
private boolean |
checkAndAssertRegionDistribution(boolean checkfourth) |
private static void |
createTableDirectlyFromHTD(org.apache.hadoop.hbase.TableName tableName) |
private org.apache.hadoop.hbase.regionserver.HRegionServer |
getRS() |
private org.apache.hadoop.hbase.regionserver.HRegionServer |
getSecondaryRS() |
private static byte[][] |
getSplits(int numRegions) |
private org.apache.hadoop.hbase.regionserver.HRegionServer |
getTertiaryRS() |
void |
testRegionReplicasCreatedAreDistributed() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int NB_SERVERS
private static org.apache.hadoop.hbase.client.Table table
private static final HBaseTestingUtility HTU
private static final byte[] f
Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> serverVsOnlineRegions
Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> serverVsOnlineRegions2
Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> serverVsOnlineRegions3
Map<org.apache.hadoop.hbase.ServerName,Collection<org.apache.hadoop.hbase.client.RegionInfo>> serverVsOnlineRegions4
public TestRegionReplicasAreDistributed()
private static void createTableDirectlyFromHTD(org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
private static byte[][] getSplits(int numRegions)
public static void afterClass() throws Exception
Exception
private org.apache.hadoop.hbase.regionserver.HRegionServer getRS()
private org.apache.hadoop.hbase.regionserver.HRegionServer getSecondaryRS()
private org.apache.hadoop.hbase.regionserver.HRegionServer getTertiaryRS()
public void testRegionReplicasCreatedAreDistributed() throws Exception
Exception
private boolean checkAndAssertRegionDistribution(boolean checkfourth) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.