Package org.apache.hadoop.hbase.util
Class FSRegionScanner
java.lang.Object
org.apache.hadoop.hbase.util.FSRegionScanner
- All Implemented Interfaces:
- Runnable
Thread that walks over the filesystem, and computes the mappings Region -> BestHost and Region ->
 
Map<HostName, fractional-locality-of-region>- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.fs.FileSystemThe file system usedprivate static final org.slf4j.LoggerMaps region encoded names to maps of hostnames to fractional locality of that region on that host.private org.apache.hadoop.fs.PathMaps each region to the RS with highest locality for that region.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
LOG
- 
regionPath
- 
fsThe file system used
- 
regionToBestLocalityRSMappingMaps each region to the RS with highest locality for that region.
- 
regionDegreeLocalityMappingMaps region encoded names to maps of hostnames to fractional locality of that region on that host.
 
- 
- 
Constructor Details- 
FSRegionScanner
 
- 
- 
Method Details