Package | Description |
---|---|
org.apache.hadoop.hbase.backup | |
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.compactions | |
org.apache.hadoop.hbase.regionserver.snapshot | |
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
static void |
HFileArchiver.archiveStoreFiles(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
HRegion parent,
byte[] family,
Collection<StoreFile> compactedFiles)
Remove the store files, either by archiving them or outright deletion
|
Modifier and Type | Method and Description |
---|---|
HRegion |
RegionCoprocessorEnvironment.getRegion() |
Modifier and Type | Method and Description |
---|---|
void |
BaseRegionObserver.postSplit(ObserverContext<RegionCoprocessorEnvironment> e,
HRegion l,
HRegion r) |
void |
RegionObserver.postSplit(ObserverContext<RegionCoprocessorEnvironment> c,
HRegion l,
HRegion r)
Called after the region is split.
|
Modifier and Type | Field and Description |
---|---|
protected HRegion |
RegionSplitPolicy.region
The region configured for this split policy.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,HRegion> |
HRegionServer.onlineRegions
Map of regions currently being served by this region server.
|
Modifier and Type | Method and Description |
---|---|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog) |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize,
boolean ignoreHLog)
Convenience method creating new HRegions.
|
HRegion |
HRegionServer.getFromOnlineRegions(String encodedRegionName) |
HRegion |
Store.getHRegion() |
HRegion |
HRegionServer.getOnlineRegion(byte[] regionName) |
protected HRegion |
HRegionServer.getRegion(byte[] regionName)
Protected utility method for safely obtaining an HRegion handle.
|
static HRegion |
HRegion.merge(HRegion a,
HRegion b)
Merge two regions whether they are adjacent or not.
|
static HRegion |
HRegion.mergeAdjacent(HRegion srcA,
HRegion srcB)
Merge two HRegions.
|
static HRegion |
HRegion.newHRegion(org.apache.hadoop.fs.Path tableDir,
HLog log,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo regionInfo,
HTableDescriptor htd,
RegionServerServices rsServices)
A utility method to create new instances of HRegion based on the
HConstants.REGION_IMPL configuration property. |
protected HRegion |
HRegion.openHRegion(CancelableProgressable reporter)
Open HRegion.
|
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path tableDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf) |
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path tableDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
Modifier and Type | Method and Description |
---|---|
PairOfSameType<HRegion> |
SplitTransaction.execute(Server server,
RegionServerServices services)
Run the transaction.
|
SortedMap<Long,HRegion> |
HRegionServer.getCopyOfOnlineRegionsSortedBySize() |
List<HRegion> |
HRegionServer.getOnlineRegions(byte[] tableName)
Gets the online regions of the specified table.
|
Collection<HRegion> |
HRegionServer.getOnlineRegionsLocalContext()
For tests and web ui.
|
Modifier and Type | Method and Description |
---|---|
static void |
HRegion.addRegionToMETA(HRegion meta,
HRegion r)
Inserts a new region's meta information into the passed
meta region. |
protected long |
HRegionServer.addRowLock(Integer r,
HRegion region) |
void |
HRegionServer.addToOnlineRegions(HRegion region) |
static void |
HRegion.closeHRegion(HRegion r)
This will do the necessary cleanup a call to
createHRegion(HRegionInfo, Path, Configuration, HTableDescriptor)
requires. |
protected void |
DelimitedKeyPrefixRegionSplitPolicy.configureForRegion(HRegion region) |
protected void |
RegionSplitPolicy.configureForRegion(HRegion region)
Upon construction, this method will be called with the region
to be governed.
|
protected void |
ConstantSizeRegionSplitPolicy.configureForRegion(HRegion region) |
protected void |
KeyPrefixRegionSplitPolicy.configureForRegion(HRegion region) |
protected void |
IncreasingToUpperBoundRegionSplitPolicy.configureForRegion(HRegion region) |
static RegionSplitPolicy |
RegionSplitPolicy.create(HRegion region,
org.apache.hadoop.conf.Configuration conf)
Create the RegionSplitPolicy configured for the given table.
|
static HRegion |
HRegion.merge(HRegion a,
HRegion b)
Merge two regions whether they are adjacent or not.
|
static HRegion |
HRegion.mergeAdjacent(HRegion srcA,
HRegion srcB)
Merge two HRegions.
|
void |
RegionServerServices.postOpenDeployTasks(HRegion r,
CatalogTracker ct,
boolean daughter)
Tasks to perform after region open to complete deploy of region on
regionserver
|
void |
HRegionServer.postOpenDeployTasks(HRegion r,
CatalogTracker ct,
boolean daughter) |
void |
RegionCoprocessorHost.postSplit(HRegion l,
HRegion r)
Invoked just after a split
|
CompactionRequest |
CompactionRequestor.requestCompaction(HRegion r,
Store s,
String why,
CompactionRequest request) |
CompactionRequest |
CompactSplitThread.requestCompaction(HRegion r,
Store s,
String why,
CompactionRequest request) |
CompactionRequest |
CompactionRequestor.requestCompaction(HRegion r,
Store s,
String why,
int pri,
CompactionRequest request) |
CompactionRequest |
CompactSplitThread.requestCompaction(HRegion r,
Store s,
String why,
int priority,
CompactionRequest request) |
List<CompactionRequest> |
CompactionRequestor.requestCompaction(HRegion r,
String why) |
List<CompactionRequest> |
CompactSplitThread.requestCompaction(HRegion r,
String why) |
List<CompactionRequest> |
CompactionRequestor.requestCompaction(HRegion r,
String why,
int pri,
List<CompactionRequest> requests) |
List<CompactionRequest> |
CompactSplitThread.requestCompaction(HRegion r,
String why,
int pri,
List<CompactionRequest> requests) |
List<CompactionRequest> |
CompactionRequestor.requestCompaction(HRegion r,
String why,
List<CompactionRequest> requests) |
List<CompactionRequest> |
CompactSplitThread.requestCompaction(HRegion r,
String why,
List<CompactionRequest> requests) |
void |
FlushRequester.requestDelayedFlush(HRegion region,
long delay)
Tell the listener the cache needs to be flushed after a delay
|
void |
FlushRequester.requestFlush(HRegion region)
Tell the listener the cache needs to be flushed.
|
boolean |
CompactSplitThread.requestSplit(HRegion r) |
void |
CompactSplitThread.requestSplit(HRegion r,
byte[] midKey) |
Constructor and Description |
---|
HRegion(HRegion other)
HRegion copy constructor.
|
RegionCoprocessorHost(HRegion region,
RegionServerServices rsServices,
org.apache.hadoop.conf.Configuration conf)
Constructor
|
SplitTransaction(HRegion r,
byte[] splitrow)
Constructor
|
Store(org.apache.hadoop.fs.Path basedir,
HRegion region,
HColumnDescriptor family,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration confParam)
Constructor
|
Modifier and Type | Method and Description |
---|---|
HRegion |
CompactionRequest.getHRegion()
Gets the HRegion for the request
|
Constructor and Description |
---|
CompactionRequest(HRegion r,
Store s,
CompactSelection files,
boolean isMajor,
int p) |
CompactionRequest(HRegion region,
Store store,
int priority)
Constructor for a custom compaction.
|
Constructor and Description |
---|
FlushSnapshotSubprocedure(ProcedureMember member,
ForeignExceptionDispatcher errorListener,
long wakeFrequency,
long timeout,
List<HRegion> regions,
HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.hbase.regionserver.snapshot.RegionServerSnapshotManager.SnapshotSubprocedurePool taskManager) |
Modifier and Type | Method and Description |
---|---|
static HRegion |
HBaseFsckRepair.createHDFSRegionDir(org.apache.hadoop.conf.Configuration conf,
HRegionInfo hri,
HTableDescriptor htd)
Creates, flushes, and closes a new region.
|
HRegion |
MetaUtils.getMetaRegion(HRegionInfo metaInfo)
Open or return cached opened meta region
|
HRegion |
MetaUtils.getRootRegion() |
Modifier and Type | Method and Description |
---|---|
void |
ModifyRegionUtils.RegionFillTask.fillRegion(HRegion region) |
static org.apache.hadoop.fs.Path |
HFileArchiveUtil.getStoreArchivePath(org.apache.hadoop.conf.Configuration conf,
HRegion region,
byte[] family)
Get the directory to archive a store directory
|
void |
MetaUtils.scanMetaRegion(HRegion r,
MetaUtils.ScannerListener listener)
Scan the passed in metaregion
m invoking the passed
listener per row found. |
void |
MetaUtils.updateMETARegionInfo(HRegion r,
HRegionInfo hri)
Update COL_REGIONINFO in meta region r with HRegionInfo hri
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.