Uses of Interface
org.apache.hadoop.hbase.wal.WAL
Package
Description
Table of Contents
-
Uses of org.apache.hadoop.hbase.wal.WAL in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.wal.WAL
WALCoprocessorEnvironment.getWAL()
Returns reference to the region server's WAL -
Uses of org.apache.hadoop.hbase.wal.WAL in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.wal.WAL
HRegion.getWAL()
Returns WAL in use for this regionorg.apache.hadoop.hbase.wal.WAL
HRegionServer.getWAL
(org.apache.hadoop.hbase.client.RegionInfo regionInfo) org.apache.hadoop.hbase.wal.WAL
RegionServerServices.getWAL
(org.apache.hadoop.hbase.client.RegionInfo regionInfo) Returns the WAL for a particular region.org.apache.hadoop.hbase.wal.WAL
RegionServicesForStores.getWAL()
Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.wal.WAL>
HRegionServer.getWALs()
List<org.apache.hadoop.hbase.wal.WAL>
RegionServerServices.getWALs()
Returns the List of WALs that are used by this server Doesn't include the meta WALModifier and TypeMethodDescriptionstatic 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.protected long
HRegion.getNextSequenceId
(org.apache.hadoop.hbase.wal.WAL wal) Method to safely get the next sequence number.protected org.apache.hadoop.hbase.regionserver.HRegion.FlushResultImpl
HRegion.internalFlushcache
(org.apache.hadoop.hbase.wal.WAL wal, long myseqid, Collection<org.apache.hadoop.hbase.regionserver.HStore> storesToFlush, org.apache.hadoop.hbase.monitoring.MonitoredTask status, boolean writeFlushWalMarker, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) Flush the memstore.protected org.apache.hadoop.hbase.regionserver.HRegion.PrepareFlushResult
HRegion.internalPrepareFlushCache
(org.apache.hadoop.hbase.wal.WAL wal, long myseqid, Collection<org.apache.hadoop.hbase.regionserver.HStore> storesToFlush, org.apache.hadoop.hbase.monitoring.MonitoredTask status, boolean writeFlushWalMarker, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) 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.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.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) protected void
HRegion.writeRegionOpenMarker
(org.apache.hadoop.hbase.wal.WAL wal, long openSeqId) ModifierConstructorDescriptionHRegion
(org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration confParam, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) Deprecated.Use other constructors.HRegion
(org.apache.hadoop.hbase.regionserver.HRegionFileSystem fs, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration confParam, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) HRegion constructor. -
Uses of org.apache.hadoop.hbase.wal.WAL in org.apache.hadoop.hbase.regionserver.wal
Modifier and TypeClassDescriptionclass
org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<W extends org.apache.hadoop.hbase.wal.WALProvider.WriterBase>
Implementation ofWAL
to go againstFileSystem
; i.e.class
org.apache.hadoop.hbase.regionserver.wal.AsyncFSWAL
An asynchronous implementation of FSWAL.class
org.apache.hadoop.hbase.regionserver.wal.FSHLog
The original implementation of FSWAL.Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.wal.WALKeyImpl
WALUtil.writeBulkLoadMarkerAndSync
(org.apache.hadoop.hbase.wal.WAL wal, NavigableMap<byte[], Integer> replicationScope, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor desc, org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl mvcc) Write a log marker that a bulk load has succeeded and is about to be committed.static org.apache.hadoop.hbase.wal.WALKeyImpl
WALUtil.writeCompactionMarker
(org.apache.hadoop.hbase.wal.WAL wal, NavigableMap<byte[], Integer> replicationScope, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor c, org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl mvcc) Write the marker that a compaction has succeeded and is about to be committed.static org.apache.hadoop.hbase.wal.WALKeyImpl
WALUtil.writeFlushMarker
(org.apache.hadoop.hbase.wal.WAL wal, NavigableMap<byte[], Integer> replicationScope, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor f, boolean sync, org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl mvcc) Write a flush marker indicating a start / abort or a complete of a region flushstatic org.apache.hadoop.hbase.wal.WALKeyImpl
WALUtil.writeRegionEventMarker
(org.apache.hadoop.hbase.wal.WAL wal, NavigableMap<byte[], Integer> replicationScope, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor r, org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl mvcc) Write a region open marker indicating that the region is opened.static void
WALUtil.writeReplicationMarkerAndSync
(org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl mvcc, org.apache.hadoop.hbase.client.RegionInfo regionInfo, byte[] rowKey, long timestamp) ModifierConstructorDescriptionWALCoprocessorHost
(org.apache.hadoop.hbase.wal.WAL log, org.apache.hadoop.conf.Configuration conf) Constructor -
Uses of org.apache.hadoop.hbase.wal.WAL in org.apache.hadoop.hbase.wal
Modifier and TypeFieldDescriptionprotected final ConcurrentMap<org.apache.hadoop.hbase.wal.WAL,
org.apache.hadoop.hbase.wal.AbstractWALRoller<T>.org.apache.hadoop.hbase.wal.AbstractWALRoller.RollController> AbstractWALRoller.wals
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.wal.WAL
RegionGroupingProvider.getWAL
(org.apache.hadoop.hbase.client.RegionInfo region) org.apache.hadoop.hbase.wal.WAL
WALFactory.getWAL
(org.apache.hadoop.hbase.client.RegionInfo region) org.apache.hadoop.hbase.wal.WAL
WALProvider.getWAL
(org.apache.hadoop.hbase.client.RegionInfo region) Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.wal.WAL>
AbstractFSWALProvider.getWALs()
List<org.apache.hadoop.hbase.wal.WAL>
RegionGroupingProvider.getWALs()
List<org.apache.hadoop.hbase.wal.WAL>
WALFactory.getWALs()
List<org.apache.hadoop.hbase.wal.WAL>
WALProvider.getWALs()
Returns the List of WALs that are used by this serverModifier and TypeMethodDescriptionvoid
AbstractWALRoller.addWAL
(org.apache.hadoop.hbase.wal.WAL wal) static long
AbstractFSWALProvider.extractFileNumFromWAL
(org.apache.hadoop.hbase.wal.WAL wal) It returns the file create timestamp from the file name.static org.apache.hadoop.fs.Path
AbstractFSWALProvider.getCurrentFileName
(org.apache.hadoop.hbase.wal.WAL wal) return the current filename from the current wal.static long
AbstractFSWALProvider.getLogFileSize
(org.apache.hadoop.hbase.wal.WAL wal) returns the size of rolled WAL files.static int
AbstractFSWALProvider.getNumRolledLogFiles
(org.apache.hadoop.hbase.wal.WAL wal) returns the number of rolled WAL files.