Package org.apache.hadoop.hbase.io
Class WALLink
java.lang.Object
org.apache.hadoop.hbase.io.FileLink
org.apache.hadoop.hbase.io.WALLink
WALLink describes a link to a WAL. An wal can be in /hbase/.logs/<server>/<wal> or it
 can be in /hbase/.oldlogs/<wal> The link checks first in the original path, if it is not
 present it fallbacks to the archived path.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.io.FileLinkFileLink.FileLinkInputStream
- 
Field SummaryFields inherited from class org.apache.hadoop.hbase.io.FileLinkBACK_REFERENCES_DIRECTORY_PREFIX
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.hadoop.hbase.io.FileLinkequals, exists, getAvailablePath, getBackReferenceFileName, getBackReferencesDir, getFileStatus, getLocations, getUnderlyingFileLinkInputStream, hashCode, isBackReferencesDir, open, open, setLocations, toString
- 
Constructor Details- 
WALLinkpublic WALLink(org.apache.hadoop.conf.Configuration conf, String serverName, String logName) throws IOException - Parameters:
- conf-- Configurationfrom which to extract specific archive locations
- serverName- Region Server owner of the log
- logName- WAL file name
- Throws:
- IOException- on unexpected error.
 
- 
WALLink- Parameters:
- walRootDir- Path to the root directory where hbase files are stored
- serverName- Region Server owner of the log
- logName- WAL file name
 
- 
WALLink- Parameters:
- originPath- Path to the wal in the log directory
- archivePath- Path to the wal in the archived log directory
 
 
-