// Get some cube data into the source table, doesn't really matter what.
DbHarnessTests.basicTest(hbaseDbHarness);
// Snapshot the source table
Assert.assertTrue(new HBaseSnapshotter(conf, CUBE_DATA_TABLE, CF, SNAPSHOT_DEST_TABLE,
new Path("hdfs:///test_hfiles"), false, null, null).runWithCheckedExceptions());
// The snapshot should be equal to the source table
assertTablesEqual(conf, CUBE_DATA_TABLE, SNAPSHOT_DEST_TABLE);
// Simulate a backfill by copying the live cube
Assert.assertTrue(new HBaseSnapshotter(conf, CUBE_DATA_TABLE, CF, BACKFILLED_TABLE,
new Path("hdfs:///test_hfiles"), true, null, null).runWithCheckedExceptions());
// Since the backfilled table is identical to the snapshot, there should be no changes to the
// live production table
HBaseBackfillMerger backfiller = new HBaseBackfillMerger(conf, ArrayUtils.EMPTY_BYTE_ARRAY,