Package org.apache.hadoop.hbase.client
Class TestMetaRegionLocationCache
java.lang.Object
org.apache.hadoop.hbase.client.TestMetaRegionLocationCache
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.ConnectionRegistryprivate static final HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcleanUp()private List<org.apache.hadoop.hbase.HRegionLocation>getCurrentMetaLocations(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk) static voidsetUp()voidvoidvoidTests MetaRegionLocationCache's init procedure to make sure that it correctly watches the base znode for notifications.voidprivate voidverifyCachedMetaLocations(org.apache.hadoop.hbase.master.HMaster master) 
- 
Field Details- 
CLASS_RULE
- 
TEST_UTIL
- 
REGISTRY
 
- 
- 
Constructor Details- 
TestMetaRegionLocationCachepublic TestMetaRegionLocationCache()
 
- 
- 
Method Details- 
setUp- Throws:
- Exception
 
- 
cleanUp- Throws:
- Exception
 
- 
getCurrentMetaLocationsprivate List<org.apache.hadoop.hbase.HRegionLocation> getCurrentMetaLocations(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk) throws Exception - Throws:
- Exception
 
- 
verifyCachedMetaLocationsprivate void verifyCachedMetaLocations(org.apache.hadoop.hbase.master.HMaster master) throws Exception - Throws:
- Exception
 
- 
testInitialMetaLocations- Throws:
- Exception
 
- 
testStandByMetaLocations- Throws:
- Exception
 
- 
testMetaLocationsChange- Throws:
- Exception
 
- 
testMetaRegionLocationCacheTests MetaRegionLocationCache's init procedure to make sure that it correctly watches the base znode for notifications.- Throws:
- Exception
 
 
-