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.hbaseMethods in org.apache.hadoop.hbase with parameters of type HDFSBlocksDistributionModifier and TypeMethodDescriptionvoidHDFSBlocksDistribution.add(HDFSBlocksDistribution otherBlocksDistribution) This will add the distribution from input to this object
- 
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.mapreduceMethods 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.balancerFields in org.apache.hadoop.hbase.master.balancer declared as HDFSBlocksDistributionModifier and TypeFieldDescriptionprivate static final HDFSBlocksDistributionRegionHDFSBlockLocationFinder.EMPTY_BLOCK_DISTRIBUTIONFields 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> RegionHDFSBlockLocationFinder.cacheprivate org.apache.hbase.thirdparty.com.google.common.cache.CacheLoader<RegionInfo,HDFSBlocksDistribution> RegionHDFSBlockLocationFinder.loaderMethods in org.apache.hadoop.hbase.master.balancer that return HDFSBlocksDistributionModifier and TypeMethodDescriptionClusterInfoProvider.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf, TableDescriptor tableDescriptor, RegionInfo regionInfo) Compute the block distribution for the given region.MasterClusterInfoProvider.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf, TableDescriptor tableDescriptor, RegionInfo regionInfo) (package private) HDFSBlocksDistributionRegionHDFSBlockLocationFinder.getBlockDistribution(RegionInfo hri) private HDFSBlocksDistributionRegionHDFSBlockLocationFinder.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>RegionHDFSBlockLocationFinder.asyncGetBlockDistribution(RegionInfo hri) private org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<RegionInfo,HDFSBlocksDistribution> RegionHDFSBlockLocationFinder.createCache()Create a cache for region to list of servers(package private) org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<RegionInfo,HDFSBlocksDistribution> RegionHDFSBlockLocationFinder.getCache()
- 
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.regionserverFields in org.apache.hadoop.hbase.regionserver declared as HDFSBlocksDistributionModifier and TypeFieldDescriptionprivate HDFSBlocksDistributionInputStreamBlockDistribution.hdfsBlocksDistributionprivate HDFSBlocksDistributionStoreFileInfo.hdfsBlocksDistributionMethods in org.apache.hadoop.hbase.regionserver that return HDFSBlocksDistributionModifier and TypeMethodDescriptionstatic HDFSBlocksDistributionHRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf, TableDescriptor tableDescriptor, RegionInfo regionInfo) This is a helper function to compute HDFS block distribution on demandstatic HDFSBlocksDistributionHRegion.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 HDFSBlocksDistributionStoreFileInfo.computeHDFSBlocksDistributionInternal(org.apache.hadoop.fs.FileSystem fs) private static HDFSBlocksDistributionStoreFileInfo.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.regionserver.compactionsMethods in org.apache.hadoop.hbase.regionserver.compactions with parameters of type HDFSBlocksDistributionModifier and TypeMethodDescriptionprotected booleanDateTieredCompactionPolicy.checkBlockLocality(HDFSBlocksDistribution hdfsBlocksDistribution) 
- 
Uses of HDFSBlocksDistribution in org.apache.hadoop.hbase.utilMethods in org.apache.hadoop.hbase.util that return HDFSBlocksDistributionModifier and TypeMethodDescriptionstatic HDFSBlocksDistributionFSUtils.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 HDFSBlocksDistributionFSUtils.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 voidFSUtils.addToHDFSBlocksDistribution(HDFSBlocksDistribution blocksDistribution, org.apache.hadoop.fs.BlockLocation[] blockLocations) Update blocksDistribution with blockLocations