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.util | |
org.apache.hadoop.hbase.wal |
Modifier and Type | Method and Description |
---|---|
WAL |
WALCoprocessorEnvironment.getWAL() |
Modifier and Type | Method and Description |
---|---|
WAL |
HRegion.getWAL() |
WAL |
RegionServerServices.getWAL(HRegionInfo regionInfo) |
WAL |
HRegionServer.getWAL(HRegionInfo regionInfo) |
Modifier and Type | Method and Description |
---|---|
void |
LogRoller.addWAL(WAL wal) |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
WAL wal) |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
WAL wal,
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,
WAL wal,
boolean initialize,
boolean ignoreWAL)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path tableDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
WAL wal,
boolean initialize,
boolean ignoreWAL)
Convenience method creating new HRegions.
|
protected long |
HRegion.getNextSequenceId(WAL wal)
Method to safely get the next sequence number.
|
protected Region.FlushResult |
HRegion.internalFlushcache(WAL wal,
long myseqid,
Collection<Store> storesToFlush,
MonitoredTask status,
boolean writeFlushWalMarker)
Flush the memstore.
|
protected Region.FlushResult |
HRegion.internalFlushCacheAndCommit(WAL wal,
MonitoredTask status,
org.apache.hadoop.hbase.regionserver.HRegion.PrepareFlushResult prepareResult,
Collection<Store> storesToFlush) |
protected org.apache.hadoop.hbase.regionserver.HRegion.PrepareFlushResult |
HRegion.internalPrepareFlushCache(WAL wal,
long myseqid,
Collection<Store> storesToFlush,
MonitoredTask status,
boolean writeFlushWalMarker) |
static HRegion |
HRegion.openHRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor 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,
HRegionInfo info,
HTableDescriptor htd,
WAL wal,
RegionServerServices rsServices,
CancelableProgressable reporter)
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,
org.apache.hadoop.fs.Path tableDir,
HRegionInfo info,
HTableDescriptor htd,
WAL wal,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static void |
HRegion.warmupHRegion(HRegionInfo info,
HTableDescriptor htd,
WAL wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter) |
Constructor and Description |
---|
HRegion(HRegionFileSystem fs,
WAL wal,
org.apache.hadoop.conf.Configuration confParam,
HTableDescriptor 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,
HRegionInfo regionInfo,
HTableDescriptor htd,
RegionServerServices rsServices)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
FSHLog
Implementation of
WAL to go against FileSystem ; i.e. |
Modifier and Type | Method and Description |
---|---|
static long |
WALUtil.writeBulkLoadMarkerAndSync(WAL wal,
HTableDescriptor htd,
HRegionInfo info,
WALProtos.BulkLoadDescriptor descriptor,
AtomicLong sequenceId)
Write a log marker that a bulk load has succeeded and is about to be committed.
|
static void |
WALUtil.writeCompactionMarker(WAL log,
HTableDescriptor htd,
HRegionInfo info,
WALProtos.CompactionDescriptor c,
AtomicLong sequenceId)
Write the marker that a compaction has succeeded and is about to be committed.
|
static long |
WALUtil.writeFlushMarker(WAL log,
HTableDescriptor htd,
HRegionInfo info,
WALProtos.FlushDescriptor f,
AtomicLong sequenceId,
boolean sync)
Write a flush marker indicating a start / abort or a complete of a region flush
|
static long |
WALUtil.writeRegionEventMarker(WAL log,
HTableDescriptor htd,
HRegionInfo info,
WALProtos.RegionEventDescriptor r,
AtomicLong sequenceId)
Write a region open marker indicating that the region is opened
|
Constructor and Description |
---|
WALCoprocessorHost(WAL log,
org.apache.hadoop.conf.Configuration conf)
Constructor
|
Modifier and Type | Method and Description |
---|---|
WAL |
MetaUtils.getLog(HRegionInfo info) |
Modifier and Type | Method and Description |
---|---|
WAL |
WALFactory.getMetaWAL(byte[] identifier) |
WAL |
WALProvider.getWAL(byte[] identifier) |
WAL |
WALFactory.getWAL(byte[] identifier) |
WAL |
DefaultWALProvider.getWAL(byte[] identifier) |
Modifier and Type | Method and Description |
---|---|
static long |
DefaultWALProvider.extractFileNumFromWAL(WAL wal)
It returns the file create timestamp from the file name.
|
static org.apache.hadoop.fs.Path |
DefaultWALProvider.getCurrentFileName(WAL wal)
return the current filename from the current wal.
|
static int |
DefaultWALProvider.getNumRolledLogFiles(WAL wal)
returns the number of rolled WAL files.
|
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.