Package org.apache.hadoop.hbase.master
Class TestMaster
java.lang.Object
org.apache.hadoop.hbase.master.TestMaster
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static final byte[]private static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidprivate 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.voidvoidvoidvoidvoidvoidvoid
-
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
-