Class TestNamespaceAuditor
java.lang.Object
org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static final org.slf4j.Logger
private String
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
before()
void
cleanup()
private void
deleteTable
(org.apache.hadoop.hbase.TableName tableName) private org.apache.hadoop.hbase.namespace.NamespaceTableAndRegionInfo
getNamespaceState
(String namespace) private org.apache.hadoop.hbase.namespace.NamespaceAuditor
private void
static void
tearDown()
void
void
void
void
void
void
void
void
void
void
void
static void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
ADMIN
-
prefix
-
-
Constructor Details
-
TestNamespaceAuditor
public TestNamespaceAuditor()
-
-
Method Details
-
before
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
cleanup
- Throws:
Exception
org.apache.zookeeper.KeeperException
-
testTableOperations
- Throws:
Exception
-
testValidQuotas
- Throws:
Exception
-
testDeleteTable
- Throws:
Exception
-
testRegionMerge
- Throws:
Exception
-
testRecreateTableWithSameNameAfterFirstTimeFailure
- Throws:
Exception
-
getNamespaceState
private org.apache.hadoop.hbase.namespace.NamespaceTableAndRegionInfo getNamespaceState(String namespace) throws org.apache.zookeeper.KeeperException, IOException - Throws:
org.apache.zookeeper.KeeperException
IOException
-
testStatePreserve
- Throws:
Exception
-
waitForQuotaInitialize
- Throws:
Exception
-
killActiveMaster
- Throws:
Exception
-
getQuotaManager
-
deleteTable
- Throws:
Exception
-
testExceedTableQuotaInNamespace
- Throws:
Exception
-
testCloneSnapshotQuotaExceed
- Throws:
Exception
-
testCloneSnapshot
- Throws:
Exception
-
testRestoreSnapshot
- Throws:
Exception
-
testRestoreSnapshotQuotaExceed
- Throws:
Exception
-