Package org.apache.hadoop.hbase.backup
Class TestIncrementalBackupMergeWithBulkLoad
java.lang.Object
org.apache.hadoop.hbase.backup.TestIncrementalBackupMergeWithBulkLoad
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<org.apache.hadoop.hbase.TableName>
private static final org.apache.hadoop.fs.Path
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.testing.TestingHBaseCluster
private static final byte[]
private static final org.slf4j.Logger
private org.apache.hadoop.hbase.TableName
private org.apache.hadoop.hbase.TableName
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private String
backup
(org.apache.hadoop.hbase.backup.BackupType backupType, List<org.apache.hadoop.hbase.TableName> tables) static void
private void
createTable
(org.apache.hadoop.hbase.TableName tableName) data()
private void
hFileBulkLoad
(org.apache.hadoop.hbase.TableName tableName, Instant timestamp, String data) private void
private void
private void
void
setUp()
void
private void
validateDataEquals
(org.apache.hadoop.hbase.TableName tableName, String expectedData)
-
Field Details
-
LOG
-
CLASS_RULE
-
useBulkLoad
-
sourceTable
-
targetTable
-
allTables
-
cluster
-
BACKUP_ROOT_DIR
-
COLUMN_FAMILY
-
-
Constructor Details
-
TestIncrementalBackupMergeWithBulkLoad
-
-
Method Details
-
data
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
testMergeContainingBulkloadedHfiles
- Throws:
Exception
-
createTable
- Throws:
IOException
-
load
private void load(org.apache.hadoop.hbase.TableName tableName, Instant timestamp, String data) throws IOException - Throws:
IOException
-
putLoad
private void putLoad(org.apache.hadoop.hbase.TableName tableName, Instant timestamp, String data) throws IOException - Throws:
IOException
-
hFileBulkLoad
private void hFileBulkLoad(org.apache.hadoop.hbase.TableName tableName, Instant timestamp, String data) throws IOException - Throws:
IOException
-
backup
private String backup(org.apache.hadoop.hbase.backup.BackupType backupType, List<org.apache.hadoop.hbase.TableName> tables) throws IOException - Throws:
IOException
-
merge
- Throws:
IOException
-
validateDataEquals
private void validateDataEquals(org.apache.hadoop.hbase.TableName tableName, String expectedData) throws IOException - Throws:
IOException
-