Package org.apache.hadoop.hbase.client
Class TestMetaRegionLocationCache
java.lang.Object
org.apache.hadoop.hbase.client.TestMetaRegionLocationCache
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.ConnectionRegistry
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cleanUp()
private List<org.apache.hadoop.hbase.HRegionLocation>
getCurrentMetaLocations
(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk) static void
setUp()
void
void
void
Tests MetaRegionLocationCache's init procedure to make sure that it correctly watches the base znode for notifications.void
private void
verifyCachedMetaLocations
(org.apache.hadoop.hbase.master.HMaster master)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
REGISTRY
-
-
Constructor Details
-
TestMetaRegionLocationCache
public TestMetaRegionLocationCache()
-
-
Method Details
-
setUp
- Throws:
Exception
-
cleanUp
- Throws:
Exception
-
getCurrentMetaLocations
private List<org.apache.hadoop.hbase.HRegionLocation> getCurrentMetaLocations(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk) throws Exception - Throws:
Exception
-
verifyCachedMetaLocations
private void verifyCachedMetaLocations(org.apache.hadoop.hbase.master.HMaster master) throws Exception - Throws:
Exception
-
testInitialMetaLocations
- Throws:
Exception
-
testStandByMetaLocations
- Throws:
Exception
-
testMetaLocationsChange
- Throws:
Exception
-
testMetaRegionLocationCache
Tests MetaRegionLocationCache's init procedure to make sure that it correctly watches the base znode for notifications.- Throws:
Exception
-