Package org.apache.hadoop.hbase.backup
Class TestHFileArchiverFileStatuses
java.lang.Object
org.apache.hadoop.hbase.backup.TestHFileArchiverFileStatuses
@Tag("org.apache.hadoop.hbase.testclassification.SmallTests") @Tag("org.apache.hadoop.hbase.testclassification.MiscTests")
public class TestHFileArchiverFileStatuses
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.fs.Pathprivate org.apache.hadoop.fs.Pathprivate org.apache.hadoop.conf.Configurationprivate static final byte[]private org.apache.hadoop.fs.FileSystemprivate static final org.apache.hadoop.hbase.client.RegionInfoprivate org.apache.hadoop.fs.FileStatusprivate static final org.apache.hadoop.hbase.TableNameprivate org.apache.hadoop.fs.Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidarchive(Collection<org.apache.hadoop.fs.FileStatus> statuses) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
TABLE_NAME
-
REGION_INFO
-
FAMILY
-
conf
-
fs
-
tableDir
-
archiveDir
-
source
-
archivedFile
-
-
Constructor Details
-
TestHFileArchiverFileStatuses
public TestHFileArchiverFileStatuses()
-
-
Method Details
-
setUp
- Throws:
IOException
-
archive
- Throws:
IOException
-
testArchiveWithoutFetchingSourceMetadata
- Throws:
IOException
-
testEmptyInput
- Throws:
IOException
-
testRejectDirectoryBeforeArchivingAnyFiles
-
testAlreadyArchived
- Throws:
IOException
-
testArchiveConflictWithSameLength
- Throws:
IOException
-
testArchiveConflictWithDifferentLength
- Throws:
IOException
-
testSourceDisappearsBeforeRename
- Throws:
IOException
-
testRetryRename
- Throws:
IOException
-
testFailureDoesNotPreventOtherFilesFromBeingArchived
- Throws:
IOException
-
testCannotCreateArchiveDirectory
- Throws:
IOException
-