Class TestNamespaceAuditor
java.lang.Object
org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerprivate Stringprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbefore()voidcleanup()private voiddeleteTable(org.apache.hadoop.hbase.TableName tableName) private org.apache.hadoop.hbase.namespace.NamespaceTableAndRegionInfogetNamespaceState(String namespace) private org.apache.hadoop.hbase.namespace.NamespaceAuditorprivate voidstatic voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidstatic void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
ADMIN
-
prefix
-
-
Constructor Details
-
TestNamespaceAuditor
public TestNamespaceAuditor()
-
-
Method Details
-
before
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
cleanup
- Throws:
Exceptionorg.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.KeeperExceptionIOException
-
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
-