Package | Description |
---|---|
org.apache.hadoop.hbase.backup |
Modifier and Type | Class and Description |
---|---|
private static class |
HFileArchiver.FileablePath
|
private static class |
HFileArchiver.FileableStoreFile
|
Modifier and Type | Method and Description |
---|---|
HFileArchiver.File |
HFileArchiver.FileStatusConverter.apply(org.apache.hadoop.fs.FileStatus input) |
HFileArchiver.File |
HFileArchiver.StoreToFile.apply(StoreFile input) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract Collection<HFileArchiver.File> |
HFileArchiver.File.getChildren() |
Collection<HFileArchiver.File> |
HFileArchiver.FileablePath.getChildren() |
Collection<HFileArchiver.File> |
HFileArchiver.FileableStoreFile.getChildren() |
private static List<HFileArchiver.File> |
HFileArchiver.resolveAndArchive(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path baseArchiveDir,
Collection<HFileArchiver.File> toArchive,
long start)
Resolve any conflict with an existing archive file via timestamp-append
renaming of the existing file and then archive the passed in files.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
HFileArchiver.resolveAndArchiveFile(org.apache.hadoop.fs.Path archiveDir,
HFileArchiver.File currentFile,
String archiveStartTime)
Attempt to archive the passed in file to the archive directory.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
HFileArchiver.resolveAndArchive(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path baseArchiveDir,
Collection<HFileArchiver.File> toArchive)
Archive the given files and resolve any conflicts with existing files via appending the time
archiving started (so all conflicts in the same group have the same timestamp appended).
|
private static List<HFileArchiver.File> |
HFileArchiver.resolveAndArchive(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path baseArchiveDir,
Collection<HFileArchiver.File> toArchive,
long start)
Resolve any conflict with an existing archive file via timestamp-append
renaming of the existing file and then archive the passed in files.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.