public class TestSnapshotMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestSnapshotMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupTest() |
void |
setup() |
static void |
setupCluster() |
void |
tearDown() |
void |
testDescribeMatchesAfterClone()
Verify that the describe for a cloned table matches the describe from the original.
|
void |
testDescribeMatchesAfterMetadataChangeAndRestore()
Verify that if metadata changed after a snapshot was taken, that the old metadata replaces the
new metadata during a restore
|
void |
testDescribeMatchesAfterRestore()
Verify that the describe for a restored table matches the describe for one the original.
|
void |
testDescribeOnEmptyTableMatchesAfterMetadataChangeAndRestore()
Verify that when the table is empty, making metadata changes after the restore does not affect
the restored table's original metadata
|
public static final HBaseClassTestRule CLASS_RULE
public TestSnapshotMetadata()
public static void setupCluster() throws Exception
Exceptionpublic static void cleanupTest() throws Exception
Exceptionpublic void testDescribeMatchesAfterClone() throws Exception
Exceptionpublic void testDescribeMatchesAfterRestore() throws Exception
Exceptionpublic void testDescribeMatchesAfterMetadataChangeAndRestore() throws Exception
Exceptionpublic void testDescribeOnEmptyTableMatchesAfterMetadataChangeAndRestore() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.