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
Exception
public static void afterAllTests() throws Exception
Exception
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) throws IOException
IOException
public void testMasterOpsWhileSplitting() throws Exception
Exception
public void testMoveRegionWhenNotInitialized()
public void testMoveThrowsUnknownRegionException() throws IOException
IOException
public void testMoveThrowsPleaseHoldException() throws IOException
IOException
public void testBlockingHbkc1WithLockFile() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.