@InterfaceAudience.Private public class HLogLink extends FileLink
BACK_REFERENCES_DIRECTORY_PREFIX
Constructor and Description |
---|
HLogLink(org.apache.hadoop.conf.Configuration conf,
String serverName,
String logName) |
HLogLink(org.apache.hadoop.fs.Path originPath,
org.apache.hadoop.fs.Path archivePath) |
HLogLink(org.apache.hadoop.fs.Path rootDir,
String serverName,
String logName) |
getAvailablePath, getBackReferenceFileName, getBackReferencesDir, getFileStatus, getLocations, isBackReferencesDir, open, open, setLocations, toString
public HLogLink(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 HLogLink(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 HLogLink(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 © 2014 The Apache Software Foundation. All rights reserved.