Package org.apache.hadoop.hbase.master
Class TestMaster
java.lang.Object
org.apache.hadoop.hbase.master.TestMaster
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static final byte[]
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
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
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
LOG
-
TABLENAME
-
FAMILYNAME
-
admin
-
name
-
-
Constructor Details
-
TestMaster
public TestMaster()
-
-
Method Details
-
beforeAllTests
- Throws:
Exception
-
afterAllTests
- Throws:
Exception
-
getTableRegionForRow
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 Return the region and current deployment for the region containing the given row. If the region cannot be found, returns null. If it is found, but not currently deployed, the second element of the pair may be null.- Throws:
IOException
-
testMasterOpsWhileSplitting
- Throws:
Exception
-
testMoveRegionWhenNotInitialized
-
testMoveThrowsUnknownRegionException
- Throws:
IOException
-
testMoveThrowsPleaseHoldException
- Throws:
IOException
-
testFlushedSequenceIdPersistLoad
- Throws:
Exception
-
testBlockingHbkc1WithLockFile
- Throws:
IOException
-
testInstallShutdownHook
- Throws:
IOException
-