@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 |
fs
The file system used
|
private static org.slf4j.Logger |
LOG |
private Map<String,Map<String,Float>> |
regionDegreeLocalityMapping
Maps 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> |
regionToBestLocalityRSMapping
Maps 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–2020 The Apache Software Foundation. All rights reserved.