public class TestNamespaceUpgrade extends Object
Uses a tarball which is an image of an 0.94 hbase.rootdir.
Contains tables with currentKeys as the stored keys: foo, ns1.foo, ns2.foo
Contains snapshots with snapshot{num}Keys as the contents: snapshot1Keys, snapshot2Keys Image also contains _acl_ table with one region and two storefiles. This is needed to test the acl table migration.
Constructor and Description |
---|
TestNamespaceUpgrade() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testACLTableMigration() |
void |
testNewDirsArePresentPostMigration() |
void |
testOldDirsAreGonePostMigration() |
void |
testRenameUsingSnapshots() |
void |
testSnapshots() |
public void testSnapshots() throws IOException, InterruptedException
IOException
InterruptedException
public void testOldDirsAreGonePostMigration() throws IOException
IOException
public void testNewDirsArePresentPostMigration() throws IOException
IOException
public void testACLTableMigration() throws IOException
IOException