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
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.wal.WAL
HBaseTestingUtility.createWal
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo hri) Deprecated.Create an unmanaged WAL.org.apache.hadoop.hbase.wal.WAL
MockRegionServerServices.getWAL
(org.apache.hadoop.hbase.client.RegionInfo regionInfo) Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.wal.WAL>
MockRegionServerServices.getWALs()
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createLocalHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.wal.WAL wal) Deprecated.Create an HRegion that writes to the local tmp dirs with specified walorg.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createLocalHRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] startKey, byte[] stopKey, org.apache.hadoop.conf.Configuration conf, boolean isReadOnly, org.apache.hadoop.hbase.client.Durability durability, org.apache.hadoop.hbase.wal.WAL wal, byte[]... families) Deprecated.Return a region on which you must callHBaseTestingUtility.closeRegionAndWAL(HRegion)
when done.org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createLocalHRegionWithInMemoryFlags
(org.apache.hadoop.hbase.TableName tableName, byte[] startKey, byte[] stopKey, org.apache.hadoop.conf.Configuration conf, boolean isReadOnly, org.apache.hadoop.hbase.client.Durability durability, org.apache.hadoop.hbase.wal.WAL wal, boolean[] compactedMemStore, byte[]... families) Deprecated. -
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, org.apache.hadoop.hbase.regionserver.regionreplication.RegionReplicationSink sink) 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, org.apache.hadoop.hbase.regionserver.regionreplication.RegionReplicationSink sink) 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, org.apache.hadoop.hbase.regionserver.regionreplication.RegionReplicationSink sink) 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, org.apache.hadoop.hbase.regionserver.regionreplication.RegionReplicationSink sink) 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 TypeMethodDescriptionprotected org.apache.hadoop.hbase.wal.WAL
AbstractFSWALProvider.createRemoteWAL
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.fs.FileSystem remoteFs, org.apache.hadoop.fs.Path remoteWALDir, String prefix, String suffix) protected abstract org.apache.hadoop.hbase.wal.WAL
AbstractWALProvider.createRemoteWAL
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.fs.FileSystem remoteFs, org.apache.hadoop.fs.Path remoteWALDir, String prefix, String suffix) protected org.apache.hadoop.hbase.wal.WAL
AsyncFSWALProvider.createRemoteWAL
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.fs.FileSystem remoteFs, org.apache.hadoop.fs.Path remoteWALDir, String prefix, String suffix) protected org.apache.hadoop.hbase.wal.WAL
FSHLogProvider.createRemoteWAL
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.fs.FileSystem remoteFs, org.apache.hadoop.fs.Path remoteWALDir, String prefix, String suffix) protected org.apache.hadoop.hbase.wal.WAL
RegionGroupingProvider.createRemoteWAL
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.fs.FileSystem remoteFs, org.apache.hadoop.fs.Path remoteWALDir, String prefix, String suffix) final org.apache.hadoop.hbase.wal.WAL
AbstractWALProvider.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) protected abstract org.apache.hadoop.hbase.wal.WAL
AbstractWALProvider.getWAL0
(org.apache.hadoop.hbase.client.RegionInfo region) protected org.apache.hadoop.hbase.wal.WAL
RegionGroupingProvider.getWAL0
(org.apache.hadoop.hbase.client.RegionInfo region) Modifier and TypeMethodDescriptionfinal List<org.apache.hadoop.hbase.wal.WAL>
AbstractWALProvider.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 serverprotected List<org.apache.hadoop.hbase.wal.WAL>
AbstractFSWALProvider.getWALs0()
protected abstract List<org.apache.hadoop.hbase.wal.WAL>
AbstractWALProvider.getWALs0()
protected List<org.apache.hadoop.hbase.wal.WAL>
RegionGroupingProvider.getWALs0()
Modifier 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 (the 'FileNum') 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.protected final void
AbstractWALProvider.initWAL
(org.apache.hadoop.hbase.wal.WAL wal)