public class TestMaster extends Object
| Modifier and Type | Field and Description | 
|---|---|
private static org.apache.hadoop.hbase.client.Admin | 
admin  | 
static HBaseClassTestRule | 
CLASS_RULE  | 
private static byte[] | 
FAMILYNAME  | 
private static org.slf4j.Logger | 
LOG  | 
org.junit.rules.TestName | 
name  | 
private static org.apache.hadoop.hbase.TableName | 
TABLENAME  | 
private static HBaseTestingUtility | 
TEST_UTIL  | 
| Constructor and Description | 
|---|
TestMaster()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
afterAllTests()  | 
static void | 
beforeAllTests()  | 
private org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> | 
getTableRegionForRow(org.apache.hadoop.hbase.master.HMaster master,
                    org.apache.hadoop.hbase.TableName tableName,
                    byte[] rowKey)
Return the region and current deployment for the region containing the given row. 
 | 
void | 
testBlockingHbkc1WithLockFile()  | 
void | 
testMasterOpsWhileSplitting()  | 
void | 
testMoveRegionWhenNotInitialized()  | 
void | 
testMoveThrowsPleaseHoldException()  | 
void | 
testMoveThrowsUnknownRegionException()  | 
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TABLENAME
private static final byte[] FAMILYNAME
private static org.apache.hadoop.hbase.client.Admin admin
public org.junit.rules.TestName name
public TestMaster()
public static void beforeAllTests() throws Exception
Exceptionpublic static void afterAllTests() throws Exception
Exceptionprivate org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> getTableRegionForRow(org.apache.hadoop.hbase.master.HMaster master, org.apache.hadoop.hbase.TableName tableName, byte[] rowKey) throws IOException
IOExceptionpublic void testMasterOpsWhileSplitting() throws Exception
Exceptionpublic void testMoveRegionWhenNotInitialized()
public void testMoveThrowsUnknownRegionException() throws IOException
IOExceptionpublic void testMoveThrowsPleaseHoldException() throws IOException
IOExceptionpublic void testBlockingHbkc1WithLockFile() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.