public class TestNamespaceUpgrade
extends java.lang.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 static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testSnapshots()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testRenameUsingSnapshots()
throws java.lang.Exception
java.lang.Exceptionpublic void testOldDirsAreGonePostMigration()
throws java.io.IOException
java.io.IOExceptionpublic void testNewDirsArePresentPostMigration()
throws java.io.IOException
java.io.IOExceptionpublic void testACLTableMigration()
throws java.io.IOException
java.io.IOException