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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void before() throws IOException
IOException
public void after() throws IOException
IOException
public void testDeleteSnapshots() throws Exception
Exception
public void testTableQuotaUtil() throws Exception
Exception
public void testNamespaceQuotaUtil() throws Exception
Exception
public void testUserQuotaUtil() throws Exception
Exception
public void testSerDeViolationPolicies() throws Exception
Exception
public void testSerdeTableSnapshotSizes() throws Exception
Exception
public void testReadNamespaceSnapshotSizes() throws Exception
Exception
private 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
IOException
private void cleanUpSnapshotSizes() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.