Uses of Class
org.apache.hadoop.hbase.HDFSBlocksDistribution
Package
Description
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionvoid
HDFSBlocksDistribution.add
(HDFSBlocksDistribution otherBlocksDistribution) This will add the distribution from input to this object -
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionTableSnapshotInputFormatImpl.getBestLocations
(org.apache.hadoop.conf.Configuration conf, HDFSBlocksDistribution blockDistribution) TableSnapshotInputFormatImpl.getBestLocations
(org.apache.hadoop.conf.Configuration conf, HDFSBlocksDistribution blockDistribution, int numTopsAtMost) This computes the locations to be passed from the InputSplit. -
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.master.balancer
Modifier and TypeFieldDescriptionprivate static final HDFSBlocksDistribution
RegionLocationFinder.EMPTY_BLOCK_DISTRIBUTION
Modifier and TypeFieldDescriptionprivate org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<RegionInfo,
HDFSBlocksDistribution> RegionLocationFinder.cache
private org.apache.hbase.thirdparty.com.google.common.cache.CacheLoader<RegionInfo,
HDFSBlocksDistribution> RegionLocationFinder.loader
Modifier and TypeMethodDescriptionRegionLocationFinder.getBlockDistribution
(RegionInfo hri) protected HDFSBlocksDistribution
RegionLocationFinder.internalGetTopBlockLocation
(RegionInfo region) Returns an ordered list of hosts that are hosting the blocks for this region.Modifier and TypeMethodDescriptionprivate org.apache.hbase.thirdparty.com.google.common.util.concurrent.ListenableFuture<HDFSBlocksDistribution>
RegionLocationFinder.asyncGetBlockDistribution
(RegionInfo hri) private org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<RegionInfo,
HDFSBlocksDistribution> RegionLocationFinder.createCache()
Create a cache for region to list of servers(package private) org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<RegionInfo,
HDFSBlocksDistribution> RegionLocationFinder.getCache()
-
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.regionserver
Modifier and TypeFieldDescriptionprivate HDFSBlocksDistribution
InputStreamBlockDistribution.hdfsBlocksDistribution
private HDFSBlocksDistribution
StoreFileInfo.hdfsBlocksDistribution
Modifier and TypeMethodDescriptionstatic HDFSBlocksDistribution
HRegion.computeHDFSBlocksDistribution
(org.apache.hadoop.conf.Configuration conf, TableDescriptor tableDescriptor, RegionInfo regionInfo) This is a helper function to compute HDFS block distribution on demandstatic HDFSBlocksDistribution
HRegion.computeHDFSBlocksDistribution
(org.apache.hadoop.conf.Configuration conf, TableDescriptor tableDescriptor, RegionInfo regionInfo, org.apache.hadoop.fs.Path tablePath) This is a helper function to compute HDFS block distribution on demandStoreFileInfo.computeHDFSBlocksDistribution
(org.apache.hadoop.fs.FileSystem fs) Compute the HDFS Block Distribution for this StoreFileprivate HDFSBlocksDistribution
StoreFileInfo.computeHDFSBlocksDistributionInternal
(org.apache.hadoop.fs.FileSystem fs) private static HDFSBlocksDistribution
StoreFileInfo.computeRefFileHDFSBlockDistribution
(org.apache.hadoop.fs.FileSystem fs, Reference reference, org.apache.hadoop.fs.FileStatus status) helper function to compute HDFS blocks distribution of a given reference file.For reference file, we don't compute the exact value.HStoreFile.getHDFSBlockDistribution()
InputStreamBlockDistribution.getHDFSBlockDistribution()
Get the HDFSBlocksDistribution derived from the StoreFile input stream, re-computing if cache is expired.StoreFileInfo.getHDFSBlockDistribution()
Returns the HDFS block distributionHRegion.getHDFSBlocksDistribution()
-
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic HDFSBlocksDistribution
FSUtils.computeHDFSBlocksDistribution
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.FileStatus status, long start, long length) Compute HDFS blocks distribution of a given file, or a portion of the filestatic HDFSBlocksDistribution
FSUtils.computeHDFSBlocksDistribution
(org.apache.hadoop.hdfs.client.HdfsDataInputStream inputStream) Compute HDFS block distribution of a given HdfsDataInputStream.Modifier and TypeMethodDescriptionstatic void
FSUtils.addToHDFSBlocksDistribution
(HDFSBlocksDistribution blocksDistribution, org.apache.hadoop.fs.BlockLocation[] blockLocations) Update blocksDistribution with blockLocations