public class TestQuotaTableUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.client.Connection |
connection |
org.junit.rules.TestName |
name |
private int |
tableNameCounter |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
| Constructor and Description |
|---|
TestQuotaTableUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
private void |
cleanUpSnapshotSizes() |
private org.apache.hadoop.hbase.TableName |
getUniqueTableName() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testDeleteSnapshots() |
void |
testNamespaceQuotaUtil() |
void |
testReadNamespaceSnapshotSizes() |
void |
testSerdeTableSnapshotSizes() |
void |
testSerDeViolationPolicies() |
void |
testTableQuotaUtil() |
void |
testUserQuotaUtil() |
private void |
verifyTableSnapshotSize(org.apache.hadoop.hbase.client.Table quotaTable,
org.apache.hadoop.hbase.TableName tn,
String snapshotName,
long expectedSize) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.hbase.client.Connection connection
private int tableNameCounter
public org.junit.rules.TestName testName
public org.junit.rules.TestName name
public TestQuotaTableUtil()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void before() throws IOException
IOExceptionpublic void after() throws IOException
IOExceptionpublic void testDeleteSnapshots() throws Exception
Exceptionpublic void testTableQuotaUtil() throws Exception
Exceptionpublic void testNamespaceQuotaUtil() throws Exception
Exceptionpublic void testUserQuotaUtil() throws Exception
Exceptionpublic void testSerDeViolationPolicies() throws Exception
Exceptionpublic void testSerdeTableSnapshotSizes() throws Exception
Exceptionpublic void testReadNamespaceSnapshotSizes() throws Exception
Exceptionprivate org.apache.hadoop.hbase.TableName getUniqueTableName()
private void verifyTableSnapshotSize(org.apache.hadoop.hbase.client.Table quotaTable, org.apache.hadoop.hbase.TableName tn, String snapshotName, long expectedSize) throws IOException
IOExceptionprivate void cleanUpSnapshotSizes() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.