Package org.apache.hadoop.hbase.quotas
Class TestQuotaTableUtil
java.lang.Object
org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Test the quota table helpers (e.g. CRUD operations)
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.hbase.client.Connectionorg.junit.rules.TestNameprivate intprivate static final HBaseTestingUtilityorg.junit.rules.TestName
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidafter()voidbefore()private voidprivate org.apache.hadoop.hbase.TableNamestatic voidstatic voidvoidvoidvoidvoidvoidvoidvoidprivate voidverifyTableSnapshotSize(org.apache.hadoop.hbase.client.Table quotaTable, org.apache.hadoop.hbase.TableName tn, String snapshotName, long expectedSize) 
- 
Field Details- 
CLASS_RULE
- 
TEST_UTIL
- 
connection
- 
tableNameCounter
- 
testName
- 
name
 
- 
- 
Constructor Details- 
TestQuotaTableUtilpublic TestQuotaTableUtil()
 
- 
- 
Method Details- 
setUpBeforeClass- Throws:
- Exception
 
- 
tearDownAfterClass- Throws:
- Exception
 
- 
before- Throws:
- IOException
 
- 
after- Throws:
- IOException
 
- 
testDeleteSnapshots- Throws:
- Exception
 
- 
testTableQuotaUtil- Throws:
- Exception
 
- 
testNamespaceQuotaUtil- Throws:
- Exception
 
- 
testUserQuotaUtil- Throws:
- Exception
 
- 
testSerDeViolationPolicies- Throws:
- Exception
 
- 
testSerdeTableSnapshotSizes- Throws:
- Exception
 
- 
testReadNamespaceSnapshotSizes- Throws:
- Exception
 
- 
getUniqueTableName
- 
verifyTableSnapshotSizeprivate void verifyTableSnapshotSize(org.apache.hadoop.hbase.client.Table quotaTable, org.apache.hadoop.hbase.TableName tn, String snapshotName, long expectedSize) throws IOException - Throws:
- IOException
 
- 
cleanUpSnapshotSizes- Throws:
- IOException
 
 
-