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 Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.client.Connection
org.junit.rules.TestName
private int
private static final HBaseTestingUtility
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
void
before()
private void
private org.apache.hadoop.hbase.TableName
static void
static void
void
void
void
void
void
void
void
private void
verifyTableSnapshotSize
(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
-
TestQuotaTableUtil
public 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
-
verifyTableSnapshotSize
private 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
-