Package org.apache.hadoop.hbase.backup
Class TestBackupUtils
java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupUtils
@Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestBackupUtils
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.fs.Pathprotected static org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.fs.FileSystemprivate static final org.slf4j.Loggerprotected static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
-
TEST_UTIL
-
conf
-
dummyFs
-
backupRootDir
-
-
Constructor Details
-
TestBackupUtils
public TestBackupUtils()
-
-
Method Details
-
setUp
- Throws:
IOException
-
testGetBulkOutputDir
-
testFilesystemWalHostNameParsing
- Throws:
IOException
-
testGetValidWalDirForAllTimeZonesSingleDay
- Throws:
IOException
-
testGetValidWalDirsForAllTimeZonesMultiDay
- Throws:
IOException
-
testGetValidWalDirExactlyMidnightUTC
- Throws:
IOException
-
testGetValidWalDirOneMsBeforeMidnightUTC
- Throws:
IOException
-
testGetValidWalDirs
protected void testGetValidWalDirs(long startTime, long endTime, org.apache.hadoop.fs.Path walDir, List<String> availableWalDateDirs, int numExpectedValidWalDirs, List<String> expectedValidWalDirs) throws IOException - Throws:
IOException
-