Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.master.balancer | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
void |
HDFSBlocksDistribution.add(HDFSBlocksDistribution otherBlocksDistribution)
This will add the distribution from input to this object
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
TableSnapshotInputFormatImpl.getBestLocations(org.apache.hadoop.conf.Configuration conf,
HDFSBlocksDistribution blockDistribution)
This computes the locations to be passed from the InputSplit.
|
Modifier and Type | Field and Description |
---|---|
private com.google.common.cache.LoadingCache<HRegionInfo,HDFSBlocksDistribution> |
RegionLocationFinder.cache |
private com.google.common.cache.CacheLoader<HRegionInfo,HDFSBlocksDistribution> |
RegionLocationFinder.loader |
Modifier and Type | Method and Description |
---|---|
HDFSBlocksDistribution |
RegionLocationFinder.getBlockDistribution(HRegionInfo hri) |
protected HDFSBlocksDistribution |
RegionLocationFinder.internalGetTopBlockLocation(HRegionInfo region)
Returns an ordered list of hosts that are hosting the blocks for this
region.
|
Modifier and Type | Method and Description |
---|---|
private com.google.common.cache.LoadingCache<HRegionInfo,HDFSBlocksDistribution> |
RegionLocationFinder.createCache()
Create a cache for region to list of servers
|
Modifier and Type | Field and Description |
---|---|
private HDFSBlocksDistribution |
StoreFileInfo.hdfsBlocksDistribution |
Modifier and Type | Method and Description |
---|---|
static HDFSBlocksDistribution |
HRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor tableDescriptor,
HRegionInfo regionInfo)
This is a helper function to compute HDFS block distribution on demand
|
static HDFSBlocksDistribution |
HRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor tableDescriptor,
HRegionInfo regionInfo,
org.apache.hadoop.fs.Path tablePath)
This is a helper function to compute HDFS block distribution on demand
|
HDFSBlocksDistribution |
StoreFileInfo.computeHDFSBlocksDistribution(org.apache.hadoop.fs.FileSystem fs)
Compute the HDFS Block Distribution for this StoreFile
|
private 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.
|
HDFSBlocksDistribution |
StoreFileInfo.getHDFSBlockDistribution() |
HDFSBlocksDistribution |
StoreFile.getHDFSBlockDistribution() |
HDFSBlocksDistribution |
Region.getHDFSBlocksDistribution() |
HDFSBlocksDistribution |
HRegion.getHDFSBlocksDistribution() |
Modifier and Type | Method and Description |
---|---|
static 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 file
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.