Uses of Class
org.apache.hadoop.hbase.regionserver.HRegion
Package
Description
-
Uses of org.apache.hadoop.hbase.regionserver.HRegion in org.apache.hadoop.hbase.regionserver
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.regionserver.HRegion
FlushPolicy.region
The region configured for this flush policy.protected org.apache.hadoop.hbase.regionserver.HRegion
RegionSplitPolicy.region
The region configured for this split policy.Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.TableDescriptor tableDesc) Create a region under the given table directory.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.wal.WAL wal) static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.wal.WAL wal, boolean initialize) Convenience method creating new HRegions.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.wal.WAL wal, boolean initialize, org.apache.hadoop.hbase.regionserver.RegionServerServices rsRpcServices) Convenience method creating new HRegions.org.apache.hadoop.hbase.regionserver.HRegion
HStore.getHRegion()
org.apache.hadoop.hbase.regionserver.HRegion
HRegionServer.getOnlineRegion
(byte[] regionName) protected org.apache.hadoop.hbase.regionserver.HRegion
HRegionServer.getRegion
(byte[] regionName) Protected Utility method for safely obtaining an HRegion handle.org.apache.hadoop.hbase.regionserver.HRegion
HRegionServer.getRegion
(String encodedRegionName) org.apache.hadoop.hbase.regionserver.HRegion
RegionServerServices.PostOpenDeployContext.getRegion()
org.apache.hadoop.hbase.regionserver.HRegion
RSRpcServices.getRegion
(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionSpecifier regionSpecifier) Find the HRegion based on a region specifierorg.apache.hadoop.hbase.regionserver.HRegion
HRegionServer.getRegionByEncodedName
(String encodedRegionName) static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.newHRegion
(org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) A utility method to create new instances of HRegion based on theHConstants.REGION_IMPL
configuration property.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.hbase.regionserver.HRegion other, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Useful when reopening a closed region (normally for unit tests)static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegionFromTableDir
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openReadOnlyFileSystemHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd) Open a Region on a read-only file-system (like hdfs snapshots)static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.warmupHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Modifier and TypeMethodDescriptionHRegionServer.getOnlineRegions()
Collection<org.apache.hadoop.hbase.regionserver.HRegion>
HRegionServer.getOnlineRegionsLocalContext()
For tests, web ui and metrics.List<org.apache.hadoop.hbase.regionserver.HRegion>
HRegionServer.getRegions()
List<org.apache.hadoop.hbase.regionserver.HRegion>
HRegionServer.getRegions
(org.apache.hadoop.hbase.TableName tableName) Gets the online regions of the specified table.Modifier and TypeMethodDescriptionvoid
HRegionServer.addRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) void
MutableOnlineRegions.addRegion
(org.apache.hadoop.hbase.regionserver.HRegion r) Add to online regions.void
SecureBulkLoadManager.cleanupBulkLoad
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request) protected void
BusyRegionSplitPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) protected void
ConstantSizeRegionSplitPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) protected void
DelimitedKeyPrefixRegionSplitPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) Deprecated.protected void
FlushAllLargeStoresPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) protected void
FlushNonSloppyStoresFirstPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) protected void
FlushPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) Upon construction, this method will be called with the region to be governed.protected void
IncreasingToUpperBoundRegionSplitPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) protected void
KeyPrefixRegionSplitPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) Deprecated.protected void
RegionSplitPolicy.configureForRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) Upon construction, this method will be called with the region to be governed.static org.apache.hadoop.hbase.regionserver.FlushPolicy
FlushPolicyFactory.create
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.conf.Configuration conf) Create the FlushPolicy configured for the given table.static org.apache.hadoop.hbase.regionserver.RegionSplitPolicy
RegionSplitPolicy.create
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.conf.Configuration conf) Create the RegionSplitPolicy configured for the given table.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.hbase.regionserver.HRegion other, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Useful when reopening a closed region (normally for unit tests)void
BaseRowProcessor.postBatchMutate
(org.apache.hadoop.hbase.regionserver.HRegion region) void
RowProcessor.postBatchMutate
(org.apache.hadoop.hbase.regionserver.HRegion region) Deprecated.The hook to be executed after the process() and applying the Mutations to region.void
BaseRowProcessor.postProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit, boolean success) void
RowProcessor.postProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit, boolean success) Deprecated.The hook to be executed after process() and applying the Mutations to region.void
BaseRowProcessor.preBatchMutate
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) void
RowProcessor.preBatchMutate
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) Deprecated.The hook to be executed after the process() but before applying the Mutations to region.SecureBulkLoadManager.prepareBulkLoad
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request) void
BaseRowProcessor.preProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) void
RowProcessor.preProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) Deprecated.The hook to be executed before process().void
RowProcessor.process
(long now, org.apache.hadoop.hbase.regionserver.HRegion region, List<org.apache.hadoop.hbase.client.Mutation> mutations, org.apache.hadoop.hbase.wal.WALEdit walEdit) Deprecated.HRegion handles the locks and MVCC and invokes this method properly.boolean
HRegionServer.removeRegion
(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.ServerName destination) boolean
MutableOnlineRegions.removeRegion
(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.ServerName destination) Removes the given Region from the list of onlineRegions.void
CompactSplit.requestCompaction
(org.apache.hadoop.hbase.regionserver.HRegion region, String why, int priority, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.security.User user) void
CompactSplit.requestCompaction
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.HStore store, String why, int priority, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.security.User user) protected void
CompactSplit.requestCompactionInternal
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.HStore store, String why, int priority, boolean selectNow, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.CompactSplit.CompactionCompleteTracker completeTracker, org.apache.hadoop.hbase.security.User user) boolean
FlushRequester.requestDelayedFlush
(org.apache.hadoop.hbase.regionserver.HRegion region, long delay) Tell the listener the cache needs to be flushed after a delayboolean
MemStoreFlusher.requestDelayedFlush
(org.apache.hadoop.hbase.regionserver.HRegion r, long delay) boolean
FlushRequester.requestFlush
(org.apache.hadoop.hbase.regionserver.HRegion region, List<byte[]> families, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) Tell the listener the cache needs to be flushed.boolean
FlushRequester.requestFlush
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) Tell the listener the cache needs to be flushed.boolean
MemStoreFlusher.requestFlush
(org.apache.hadoop.hbase.regionserver.HRegion r, List<byte[]> families, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) boolean
MemStoreFlusher.requestFlush
(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) void
CompactSplit.requestSystemCompaction
(org.apache.hadoop.hbase.regionserver.HRegion region, String why) void
CompactSplit.requestSystemCompaction
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.HStore store, String why) void
CompactSplit.requestSystemCompaction
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.HStore store, String why, boolean giveUpIfRequestedOrCompacting) SecureBulkLoadManager.secureBulkLoadHFiles
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.BulkLoadHFileRequest request) SecureBulkLoadManager.secureBulkLoadHFiles
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.BulkLoadHFileRequest request, List<String> clusterIds) protected void
FlushLargeStoresPolicy.setFlushSizeLowerBounds
(org.apache.hadoop.hbase.regionserver.HRegion region) void
MetricsRegionServer.updateAppend
(org.apache.hadoop.hbase.regionserver.HRegion region, long time, long blockBytesScanned) void
MetricsRegionServer.updateCheckAndDelete
(org.apache.hadoop.hbase.regionserver.HRegion region, long t) void
MetricsRegionServer.updateCheckAndMutate
(org.apache.hadoop.hbase.regionserver.HRegion region, long time, long blockBytesScanned) void
MetricsRegionServer.updateCheckAndPut
(org.apache.hadoop.hbase.regionserver.HRegion region, long t) void
MetricsRegionServer.updateDelete
(org.apache.hadoop.hbase.regionserver.HRegion region, long t) void
MetricsRegionServer.updateDeleteBatch
(org.apache.hadoop.hbase.regionserver.HRegion region, long t) void
MetricsRegionServer.updateGet
(org.apache.hadoop.hbase.regionserver.HRegion region, long time, long blockBytesScanned) void
MetricsRegionServer.updateIncrement
(org.apache.hadoop.hbase.regionserver.HRegion region, long time, long blockBytesScanned) void
MetricsRegionServer.updatePut
(org.apache.hadoop.hbase.regionserver.HRegion region, long t) void
MetricsRegionServer.updatePutBatch
(org.apache.hadoop.hbase.regionserver.HRegion region, long t) void
MetricsRegionServer.updateReadQueryMeter
(org.apache.hadoop.hbase.regionserver.HRegion region, long count) void
MetricsRegionServer.updateScan
(org.apache.hadoop.hbase.regionserver.HRegion region, long time, long responseCellSize, long blockBytesScanned) void
MetricsRegionServer.updateWriteQueryMeter
(org.apache.hadoop.hbase.regionserver.HRegion region) void
MetricsRegionServer.updateWriteQueryMeter
(org.apache.hadoop.hbase.regionserver.HRegion region, long count) ModifierConstructorDescriptionHMobStore
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.conf.Configuration confParam, boolean warmup) protected
HStore
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.conf.Configuration confParam, boolean warmup) ConstructorMetricsRegionWrapperImpl
(org.apache.hadoop.hbase.regionserver.HRegion region) PostOpenDeployContext
(org.apache.hadoop.hbase.regionserver.HRegion region, long openProcId, long masterSystemTime) RegionCoprocessorHost
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.conf.Configuration conf) ConstructorRegionServicesForStores
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) -
Uses of org.apache.hadoop.hbase.regionserver.HRegion in org.apache.hadoop.hbase.snapshot
Modifier and TypeMethodDescriptionvoid
SnapshotManifest.addRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) Creates a 'manifest' for the specified region, by reading directly from the HRegion object.protected void
SnapshotManifest.addRegion
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.snapshot.SnapshotManifest.RegionVisitor visitor) -
Uses of org.apache.hadoop.hbase.regionserver.HRegion in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.regionserver.HRegion
HBaseFsckRepair.createHDFSRegionDir
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.client.TableDescriptor htd) Creates, flushes, and closes a new region.Modifier and TypeMethodDescriptionvoid
ModifyRegionUtils.RegionFillTask.fillRegion
(org.apache.hadoop.hbase.regionserver.HRegion region) static boolean
ServerRegionReplicaUtil.isReadOnly
(org.apache.hadoop.hbase.regionserver.HRegion region) Returns whether this region replica can accept writes.static boolean
ServerRegionReplicaUtil.shouldReplayRecoveredEdits
(org.apache.hadoop.hbase.regionserver.HRegion region) Returns whether to replay the recovered edits to flush the results.