@InterfaceAudience.Private public class WALLink extends FileLink
BACK_REFERENCES_DIRECTORY_PREFIX
Constructor and Description |
---|
WALLink(org.apache.hadoop.conf.Configuration conf,
String serverName,
String logName) |
WALLink(org.apache.hadoop.fs.Path originPath,
org.apache.hadoop.fs.Path archivePath) |
WALLink(org.apache.hadoop.fs.Path rootDir,
String serverName,
String logName) |
equals, exists, getAvailablePath, getBackReferenceFileName, getBackReferencesDir, getFileStatus, getLocations, hashCode, isBackReferencesDir, open, open, setLocations, toString
public WALLink(org.apache.hadoop.conf.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(org.apache.hadoop.fs.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(org.apache.hadoop.fs.Path originPath, org.apache.hadoop.fs.Path archivePath)
originPath
- Path to the wal in the log directoryarchivePath
- Path to the wal in the archived log directoryCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.