@InterfaceAudience.Private public class WALLink extends FileLink
BACK_REFERENCES_DIRECTORY_PREFIX
Constructor and Description |
---|
WALLink(Configuration conf,
String serverName,
String logName) |
WALLink(Path originPath,
Path archivePath) |
WALLink(Path rootDir,
String serverName,
String logName) |
equals, exists, getAvailablePath, getBackReferenceFileName, getBackReferencesDir, getFileStatus, getLocations, hashCode, isBackReferencesDir, open, open, setLocations, toString
public WALLink(Configuration conf, String serverName, String logName) throws IOException
conf
- Configuration
from which to extract specific archive locationsserverName
- Region Server owner of the loglogName
- WAL file nameIOException
- on unexpected error.public WALLink(Path rootDir, String serverName, String logName)
rootDir
- Path to the root directory where hbase files are storedserverName
- Region Server owner of the loglogName
- WAL file namepublic WALLink(Path originPath, Path archivePath)
originPath
- Path to the wal in the log directoryarchivePath
- Path to the wal in the archived log directory