public class TestRegionsOnMasterOptions extends Object
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
c |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static int |
MASTERS |
org.junit.rules.TestName |
name |
private static int |
REGIONS |
private static int |
SLAVES |
private static int |
SYSTEM_REGIONS |
private String |
systemTablesOnMasterOldValue |
private String |
tablesOnMasterOldValue |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestRegionsOnMasterOptions() |
Modifier and Type | Method and Description |
---|---|
private void |
checkBalance(int masterCount,
int rsCount) |
private void |
checkCount(int actual,
int expected) |
void |
setup() |
void |
tearDown() |
void |
testNoRegionOnMaster() |
void |
testRegionsOnAllServers() |
void |
testSystemTablesOnMaster() |
private void |
unset(String key,
String value) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
private static final HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.conf.Configuration c
private String tablesOnMasterOldValue
private String systemTablesOnMasterOldValue
private static final int SLAVES
private static final int MASTERS
private static final int REGIONS
private static final int SYSTEM_REGIONS
public TestRegionsOnMasterOptions()
public void setup()
public void tearDown()
public void testRegionsOnAllServers() throws Exception
Exception
public void testNoRegionOnMaster() throws Exception
Exception
public void testSystemTablesOnMaster() throws Exception
Exception
private void checkBalance(int masterCount, int rsCount) throws Exception
Exception
private void checkCount(int actual, int expected)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.