Package org.apache.hadoop.hbase
Class RegionLoad
java.lang.Object
org.apache.hadoop.hbase.RegionLoad
- All Implemented Interfaces:
RegionMetrics
Deprecated.
Encapsulates per-region load metrics.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegionMetrics
Deprecated.protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad
Deprecated. -
Constructor Summary
ConstructorDescriptionRegionLoad
(RegionMetrics metrics) Deprecated.RegionLoad
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad regionLoadPB) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlong
Deprecated.Returns the data at local weight of this region in the regionserverlong
Deprecated.Different from blocksLocalWeight,this metric's numerator only include the data stored on ssdlong
Deprecated.Returns the block total weight of this regionDeprecated.Returns The total size of all Bloom filter blocks, not just loaded into the block cachelong
Deprecated.Returns the number of already compacted kvs in current compactionlong
Deprecated.Returns the total number of cells in current compactionDeprecated.Returns the compaction state of this regionlong
Deprecated.This does not really belong inside RegionLoad but its being done in the name of expediency.long
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetCompletedSequenceId()
instead.long
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetCompactedCellCount()
instead.float
Deprecated.Returns current prefetch ratio of this region on this serverfloat
Deprecated.Returns the data locality of region in the regionserver.float
Deprecated.Different from dataLocality,this metric's numerator only include the data stored on ssdlong
Deprecated.Returns the number of filtered read requests made to regionlong
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetFilteredReadRequestCount()
instead.long
Deprecated.Returns the timestamp of the oldest hfile for any store of this region.long
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetLastMajorCompactionTimestamp()
instead.int
Deprecated.Returns the max reference count for any store file among all compacted stores files of this regionDeprecated.Returns the memstore sizeint
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetMemStoreSize()
instead.byte[]
getName()
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetRegionName()
instead.long
Deprecated.Returns the number of read requests made to regionlong
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetReadRequestCount()
instead.byte[]
Deprecated.Returns the region nameDeprecated.Returns the total size of the hfiles in the regionlong
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UseRegionMetrics.getRequestCount()
instead.int
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileRootLevelIndexSize()
instead.List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId>
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreSequenceId()
instead.int
Deprecated.Returns the number of storesint
Deprecated.Returns the number of storefilesDeprecated.TODO: why we pass the same value to different counters? Currently, the value from getStoreFileIndexSize() is same with getStoreFileRootLevelIndexSize() see HRegionServer#createRegionLoad.int
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileRootLevelIndexSize()
instead.int
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 ((HBASE-3935)).Deprecated.Returns The current total size of root-level indexes for the regionint
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileCount()
instead.Deprecated.Returns the total size of the storefilesint
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileSize()
instead.Deprecated.Returns The total size of all index blocks, not just the root levelint
Deprecated.Returns the reference count for the stores of this regionint
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreCount()
instead.Deprecated.Returns completed sequence id per store.int
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetUncompressedStoreFileSize()
instead.long
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetCompactingCellCount()
instead.int
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetBloomFilterSize()
instead.int
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileUncompressedDataIndexSize()
instead.Deprecated.Returns the uncompressed size of the storefileslong
Deprecated.Returns the number of write requests made to regionlong
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetWriteRequestCount()
instead.toString()
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.RegionMetrics
getNameAsString, getRequestCount
-
Field Details
-
regionLoadPB
protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad regionLoadPBDeprecated. -
metrics
Deprecated.
-
-
Constructor Details
-
RegionLoad
public RegionLoad(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad regionLoadPB) Deprecated. -
RegionLoad
RegionLoad(RegionMetrics metrics) Deprecated.
-
-
Method Details
-
getName
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetRegionName()
instead.- Returns:
- the region name
-
getRegionName
Deprecated.Description copied from interface:RegionMetrics
Returns the region name- Specified by:
getRegionName
in interfaceRegionMetrics
-
getStoreCount
Deprecated.Description copied from interface:RegionMetrics
Returns the number of stores- Specified by:
getStoreCount
in interfaceRegionMetrics
-
getStoreFileCount
Deprecated.Description copied from interface:RegionMetrics
Returns the number of storefiles- Specified by:
getStoreFileCount
in interfaceRegionMetrics
-
getStoreFileSize
Deprecated.Description copied from interface:RegionMetrics
Returns the total size of the storefiles- Specified by:
getStoreFileSize
in interfaceRegionMetrics
-
getMemStoreSize
Deprecated.Description copied from interface:RegionMetrics
Returns the memstore size- Specified by:
getMemStoreSize
in interfaceRegionMetrics
-
getReadRequestCount
Deprecated.Description copied from interface:RegionMetrics
Returns the number of read requests made to region- Specified by:
getReadRequestCount
in interfaceRegionMetrics
-
getFilteredReadRequestCount
Deprecated.Description copied from interface:RegionMetrics
Returns the number of filtered read requests made to region- Specified by:
getFilteredReadRequestCount
in interfaceRegionMetrics
-
getStoreFileIndexSize
Deprecated.Description copied from interface:RegionMetrics
TODO: why we pass the same value to different counters? Currently, the value from getStoreFileIndexSize() is same with getStoreFileRootLevelIndexSize() see HRegionServer#createRegionLoad.- Specified by:
getStoreFileIndexSize
in interfaceRegionMetrics
- Returns:
- The current total size of root-level indexes for the region
-
getWriteRequestCount
Deprecated.Description copied from interface:RegionMetrics
Returns the number of write requests made to region- Specified by:
getWriteRequestCount
in interfaceRegionMetrics
-
getStoreFileRootLevelIndexSize
Deprecated.Description copied from interface:RegionMetrics
Returns The current total size of root-level indexes for the region- Specified by:
getStoreFileRootLevelIndexSize
in interfaceRegionMetrics
-
getStoreFileUncompressedDataIndexSize
Deprecated.Description copied from interface:RegionMetrics
Returns The total size of all index blocks, not just the root level- Specified by:
getStoreFileUncompressedDataIndexSize
in interfaceRegionMetrics
-
getBloomFilterSize
Deprecated.Description copied from interface:RegionMetrics
Returns The total size of all Bloom filter blocks, not just loaded into the block cache- Specified by:
getBloomFilterSize
in interfaceRegionMetrics
-
getCompactingCellCount
Deprecated.Description copied from interface:RegionMetrics
Returns the total number of cells in current compaction- Specified by:
getCompactingCellCount
in interfaceRegionMetrics
-
getCompactedCellCount
Deprecated.Description copied from interface:RegionMetrics
Returns the number of already compacted kvs in current compaction- Specified by:
getCompactedCellCount
in interfaceRegionMetrics
-
getCompletedSequenceId
Deprecated.Description copied from interface:RegionMetrics
This does not really belong inside RegionLoad but its being done in the name of expediency.- Specified by:
getCompletedSequenceId
in interfaceRegionMetrics
- Returns:
- the completed sequence Id for the region
-
getStoreSequenceId
Deprecated.Description copied from interface:RegionMetrics
Returns completed sequence id per store.- Specified by:
getStoreSequenceId
in interfaceRegionMetrics
-
getUncompressedStoreFileSize
Deprecated.Description copied from interface:RegionMetrics
Returns the uncompressed size of the storefiles- Specified by:
getUncompressedStoreFileSize
in interfaceRegionMetrics
-
getStores
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreCount()
instead.- Returns:
- the number of stores
-
getStorefiles
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileCount()
instead.- Returns:
- the number of storefiles
-
getStorefileSizeMB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileSize()
instead.- Returns:
- the total size of the storefiles, in MB
-
getMemStoreSizeMB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetMemStoreSize()
instead.- Returns:
- the memstore size, in MB
-
getStorefileIndexSizeMB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 ((HBASE-3935)). UsegetStoreFileRootLevelIndexSize()
instead. -
getStorefileIndexSizeKB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileRootLevelIndexSize()
instead. -
getRequestsCount
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UseRegionMetrics.getRequestCount()
instead.- Returns:
- the number of requests made to region
-
getReadRequestsCount
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetReadRequestCount()
instead.- Returns:
- the number of read requests made to region
-
getFilteredReadRequestsCount
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetFilteredReadRequestCount()
instead.- Returns:
- the number of filtered read requests made to region
-
getWriteRequestsCount
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetWriteRequestCount()
instead.- Returns:
- the number of write requests made to region
-
getRootIndexSizeKB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileRootLevelIndexSize()
instead.- Returns:
- The current total size of root-level indexes for the region, in KB.
-
getTotalStaticIndexSizeKB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreFileUncompressedDataIndexSize()
instead.- Returns:
- The total size of all index blocks, not just the root level, in KB.
-
getTotalStaticBloomSizeKB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetBloomFilterSize()
instead.- Returns:
- The total size of all Bloom filter blocks, not just loaded into the block cache, in KB.
-
getTotalCompactingKVs
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetCompactingCellCount()
instead.- Returns:
- the total number of kvs in current compaction
-
getCurrentCompactedKVs
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetCompactedCellCount()
instead.- Returns:
- the number of already compacted kvs in current compaction
-
getCompleteSequenceId
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetCompletedSequenceId()
instead.This does not really belong inside RegionLoad but its being done in the name of expediency.- Returns:
- the completed sequence Id for the region
-
getStoreCompleteSequenceId
@Deprecated public List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId> getStoreCompleteSequenceId()Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetStoreSequenceId()
instead.- Returns:
- completed sequence id per store.
-
getStoreUncompressedSizeMB
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetUncompressedStoreFileSize()
instead.- Returns:
- the uncompressed size of the storefiles in MB.
-
getDataLocality
Deprecated.Returns the data locality of region in the regionserver.- Specified by:
getDataLocality
in interfaceRegionMetrics
-
getLastMajorCompactionTimestamp
Deprecated.Description copied from interface:RegionMetrics
Returns the timestamp of the oldest hfile for any store of this region.- Specified by:
getLastMajorCompactionTimestamp
in interfaceRegionMetrics
-
getLastMajorCompactionTs
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetLastMajorCompactionTimestamp()
instead.- Returns:
- the timestamp of the oldest hfile for any store of this region.
-
getStoreRefCount
Deprecated.Returns the reference count for the stores of this region- Specified by:
getStoreRefCount
in interfaceRegionMetrics
-
getMaxCompactedStoreFileRefCount
Deprecated.Description copied from interface:RegionMetrics
Returns the max reference count for any store file among all compacted stores files of this region- Specified by:
getMaxCompactedStoreFileRefCount
in interfaceRegionMetrics
-
getDataLocalityForSsd
Deprecated.Description copied from interface:RegionMetrics
Different from dataLocality,this metric's numerator only include the data stored on ssd- Specified by:
getDataLocalityForSsd
in interfaceRegionMetrics
- Returns:
- the data locality for ssd of region in the regionserver
-
getBlocksLocalWeight
Deprecated.Description copied from interface:RegionMetrics
Returns the data at local weight of this region in the regionserver- Specified by:
getBlocksLocalWeight
in interfaceRegionMetrics
-
getBlocksLocalWithSsdWeight
Deprecated.Description copied from interface:RegionMetrics
Different from blocksLocalWeight,this metric's numerator only include the data stored on ssd- Specified by:
getBlocksLocalWithSsdWeight
in interfaceRegionMetrics
- Returns:
- the data at local with ssd weight of this region in the regionserver
-
getBlocksTotalWeight
Deprecated.Description copied from interface:RegionMetrics
Returns the block total weight of this region- Specified by:
getBlocksTotalWeight
in interfaceRegionMetrics
-
getCompactionState
Deprecated.Description copied from interface:RegionMetrics
Returns the compaction state of this region- Specified by:
getCompactionState
in interfaceRegionMetrics
-
getRegionSizeMB
Deprecated.Description copied from interface:RegionMetrics
Returns the total size of the hfiles in the region- Specified by:
getRegionSizeMB
in interfaceRegionMetrics
-
getCurrentRegionCachedRatio
Deprecated.Description copied from interface:RegionMetrics
Returns current prefetch ratio of this region on this server- Specified by:
getCurrentRegionCachedRatio
in interfaceRegionMetrics
-
toString
Deprecated.
-
RegionMetrics
instead.