@InterfaceAudience.Private class FSRegionScanner extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.fs.FileSystem |
fs
The file system used
|
private static org.apache.commons.logging.Log |
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.apache.commons.logging.Log LOG
private org.apache.hadoop.fs.Path regionPath
private org.apache.hadoop.fs.FileSystem fs
private Map<String,String> regionToBestLocalityRSMapping
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.