Uses of Class
org.apache.hadoop.hbase.HDFSBlocksDistribution
Packages that use HDFSBlocksDistribution
Package
Description
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase
Methods in org.apache.hadoop.hbase with parameters of type HDFSBlocksDistributionModifier 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
Methods in org.apache.hadoop.hbase.mapreduce with parameters of type HDFSBlocksDistributionModifier 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
Fields in org.apache.hadoop.hbase.master.balancer declared as HDFSBlocksDistributionModifier and TypeFieldDescriptionprivate static final HDFSBlocksDistribution
RegionLocationFinder.EMPTY_BLOCK_DISTRIBUTION
Fields in org.apache.hadoop.hbase.master.balancer with type parameters of type HDFSBlocksDistributionModifier 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
Methods in org.apache.hadoop.hbase.master.balancer that return HDFSBlocksDistributionModifier 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.Methods in org.apache.hadoop.hbase.master.balancer that return types with arguments of type HDFSBlocksDistributionModifier 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
Fields in org.apache.hadoop.hbase.regionserver declared as HDFSBlocksDistributionModifier and TypeFieldDescriptionprivate HDFSBlocksDistribution
InputStreamBlockDistribution.hdfsBlocksDistribution
private HDFSBlocksDistribution
StoreFileInfo.hdfsBlocksDistribution
Methods in org.apache.hadoop.hbase.regionserver that return HDFSBlocksDistributionModifier 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
Methods in org.apache.hadoop.hbase.util that return HDFSBlocksDistributionModifier 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.Methods in org.apache.hadoop.hbase.util with parameters of type HDFSBlocksDistributionModifier and TypeMethodDescriptionstatic void
FSUtils.addToHDFSBlocksDistribution
(HDFSBlocksDistribution blocksDistribution, org.apache.hadoop.fs.BlockLocation[] blockLocations) Update blocksDistribution with blockLocations