public class TestRegionReplicasWithRestartScenarios 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 |
org.junit.rules.TestName |
name |
private static int |
NB_SERVERS |
private org.apache.hadoop.hbase.client.Table |
table |
Constructor and Description |
---|
TestRegionReplicasWithRestartScenarios() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
private boolean |
checkDuplicates(Collection<org.apache.hadoop.hbase.regionserver.HRegion> onlineRegions3) |
private static org.apache.hadoop.hbase.client.Table |
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 |
testRegionReplicasCreated() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
private static final int NB_SERVERS
private org.apache.hadoop.hbase.client.Table table
private static final HBaseTestingUtility HTU
private static final byte[] f
public TestRegionReplicasWithRestartScenarios()
public static void beforeClass() throws Exception
Exception
public void before() throws IOException
IOException
public void after() throws IOException
IOException
private static org.apache.hadoop.hbase.client.Table 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 testRegionReplicasCreated() throws Exception
Exception
private boolean checkDuplicates(Collection<org.apache.hadoop.hbase.regionserver.HRegion> onlineRegions3) throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.