| Package | Description |
|---|---|
| org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
| org.apache.hadoop.hbase.regionserver | |
| org.apache.hadoop.hbase.regionserver.wal | |
| org.apache.hadoop.hbase.wal |
| Modifier and Type | Method and Description |
|---|---|
WAL |
WALCoprocessorEnvironment.getWAL()
Returns reference to the region server's WAL
|
| Modifier and Type | Method and Description |
|---|---|
WAL |
HRegion.getWAL()
Returns WAL in use for this region
|
WAL |
RegionServicesForStores.getWAL() |
WAL |
RegionServerServices.getWAL(RegionInfo regionInfo)
Returns the WAL for a particular region.
|
WAL |
HRegionServer.getWAL(RegionInfo regionInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<WAL> |
RegionServerServices.getWALs()
Returns the List of WALs that are used by this server Doesn't include the meta WAL
|
List<WAL> |
HRegionServer.getWALs() |
| Modifier and Type | Method and Description |
|---|---|
static HRegion |
HRegion.createHRegion(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor hTableDescriptor,
WAL wal) |
static HRegion |
HRegion.createHRegion(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor hTableDescriptor,
WAL wal,
boolean initialize)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor hTableDescriptor,
WAL wal,
boolean initialize,
RegionServerServices rsRpcServices)
Convenience method creating new HRegions.
|
protected long |
HRegion.getNextSequenceId(WAL wal)
Method to safely get the next sequence number.
|
protected HRegion.FlushResultImpl |
HRegion.internalFlushcache(WAL wal,
long myseqid,
Collection<HStore> storesToFlush,
MonitoredTask status,
boolean writeFlushWalMarker,
FlushLifeCycleTracker tracker)
Flush the memstore.
|
protected org.apache.hadoop.hbase.regionserver.HRegion.PrepareFlushResult |
HRegion.internalPrepareFlushCache(WAL wal,
long myseqid,
Collection<HStore> storesToFlush,
MonitoredTask status,
boolean writeFlushWalMarker,
FlushLifeCycleTracker tracker) |
static HRegion |
HRegion.newHRegion(org.apache.hadoop.fs.Path tableDir,
WAL wal,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
RegionInfo regionInfo,
TableDescriptor htd,
RegionServerServices rsServices)
A utility method to create new instances of HRegion based on the
HConstants.REGION_IMPL
configuration property. |
static HRegion |
HRegion.openHRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
RegionInfo info,
TableDescriptor htd,
WAL wal)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
RegionInfo info,
TableDescriptor htd,
WAL wal,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path rootDir,
RegionInfo info,
TableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path rootDir,
RegionInfo info,
TableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(RegionInfo info,
TableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(RegionInfo info,
TableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegionFromTableDir(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir,
RegionInfo info,
TableDescriptor htd,
WAL wal,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.warmupHRegion(RegionInfo info,
TableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter) |
protected void |
HRegion.writeRegionOpenMarker(WAL wal,
long openSeqId) |
| Constructor and Description |
|---|
HRegion(HRegionFileSystem fs,
WAL wal,
org.apache.hadoop.conf.Configuration confParam,
TableDescriptor htd,
RegionServerServices rsServices)
HRegion constructor.
|
HRegion(org.apache.hadoop.fs.Path tableDir,
WAL wal,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration confParam,
RegionInfo regionInfo,
TableDescriptor htd,
RegionServerServices rsServices)
Deprecated.
Use other constructors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFSWAL<W extends WALProvider.WriterBase>
Implementation of
WAL to go against FileSystem; i.e. |
class |
AsyncFSWAL
An asynchronous implementation of FSWAL.
|
class |
FSHLog
The original implementation of FSWAL.
|
| Constructor and Description |
|---|
WALCoprocessorHost(WAL log,
org.apache.hadoop.conf.Configuration conf)
Constructor
|
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<WAL,AbstractWALRoller.RollController> |
AbstractWALRoller.wals |
| Modifier and Type | Method and Description |
|---|---|
WAL |
WALFactory.getWAL(RegionInfo region) |
WAL |
WALProvider.getWAL(RegionInfo region) |
WAL |
RegionGroupingProvider.getWAL(RegionInfo region) |
| Modifier and Type | Method and Description |
|---|---|
List<WAL> |
WALFactory.getWALs() |
List<WAL> |
WALProvider.getWALs()
Returns the List of WALs that are used by this server
|
List<WAL> |
RegionGroupingProvider.getWALs() |
List<WAL> |
AbstractFSWALProvider.getWALs() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractWALRoller.addWAL(WAL wal) |
static long |
AbstractFSWALProvider.extractFileNumFromWAL(WAL wal)
It returns the file create timestamp from the file name.
|
static org.apache.hadoop.fs.Path |
AbstractFSWALProvider.getCurrentFileName(WAL wal)
return the current filename from the current wal.
|
static long |
AbstractFSWALProvider.getLogFileSize(WAL wal)
returns the size of rolled WAL files.
|
static int |
AbstractFSWALProvider.getNumRolledLogFiles(WAL wal)
returns the number of rolled WAL files.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.