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 Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.fs.FileSystem
The file system usedprivate static final org.slf4j.Logger
Maps region encoded names to maps of hostnames to fractional locality of that region on that host.private org.apache.hadoop.fs.Path
Maps each region to the RS with highest locality for that region. -
Constructor Summary
-
Method Summary
-
Field Details
-
LOG
-
regionPath
-
fs
The file system used -
regionToBestLocalityRSMapping
Maps each region to the RS with highest locality for that region. -
regionDegreeLocalityMapping
Maps region encoded names to maps of hostnames to fractional locality of that region on that host.
-
-
Constructor Details
-
FSRegionScanner
-
-
Method Details