@InterfaceAudience.Private class FSRegionScanner extends Object implements Runnable
Map<HostName, fractional-locality-of-region>| Modifier and Type | Field and Description | 
|---|---|
| private org.apache.hadoop.fs.FileSystem | fsThe file system used | 
| private static org.slf4j.Logger | LOG | 
| private Map<String,Map<String,Float>> | regionDegreeLocalityMappingMaps region encoded names to maps of hostnames to fractional locality of
 that region on that host. | 
| private org.apache.hadoop.fs.Path | regionPath | 
| private Map<String,String> | regionToBestLocalityRSMappingMaps each region to the RS with highest locality for that region. | 
private static final org.slf4j.Logger LOG
private org.apache.hadoop.fs.Path regionPath
private org.apache.hadoop.fs.FileSystem fs
private final Map<String,String> regionToBestLocalityRSMapping
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.