public class TestMasterTransitions extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[][] |
FAMILIES |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.TableName |
TABLENAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMasterTransitions() |
Modifier and Type | Method and Description |
---|---|
private static int |
addToEachStartKey(int expected) |
static void |
afterAllTests() |
static void |
beforeAllTests()
Start up a mini cluster and put a small table of many empty regions into it.
|
private static byte[] |
getStartKey(org.apache.hadoop.hbase.client.RegionInfo hri) |
private static byte[] |
getTestFamily() |
private static byte[] |
getTestQualifier() |
void |
setup() |
void |
testAddingServerBeforeOldIsDead2413()
Test adding in a new server before old one on same host+port is dead.
|
void |
testKillRSWithOpeningRegion2482()
In 2482, a RS with an opening region on it dies.
|
void |
testRegionCloseWhenNoMetaHBase2428()
In 2428, the meta region has just been set offline and then a close comes in.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.hbase.TableName TABLENAME
private static final byte[][] FAMILIES
public TestMasterTransitions()
public static void beforeAllTests() throws Exception
Exception
public static void afterAllTests() throws Exception
Exception
public void setup() throws IOException
IOException
public void testRegionCloseWhenNoMetaHBase2428() throws Exception
Exception
public void testAddingServerBeforeOldIsDead2413() throws IOException
IOException
public void testKillRSWithOpeningRegion2482() throws Exception
Exception
private static int addToEachStartKey(int expected) throws IOException
IOException
private static byte[] getStartKey(org.apache.hadoop.hbase.client.RegionInfo hri)
private static byte[] getTestFamily()
private static byte[] getTestQualifier()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.