public class TestSpaceQuotasWithSnapshots extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.client.Connection |
conn |
private static AtomicLong |
COUNTER |
private static long |
FUDGE_FOR_TABLE_SIZE |
private SpaceQuotaHelperForTests |
helper |
private static org.slf4j.Logger |
LOG |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
| Constructor and Description |
|---|
TestSpaceQuotasWithSnapshots() |
| Modifier and Type | Method and Description |
|---|---|
(package private) long |
getRegionSizeReportForTable(org.apache.hadoop.hbase.client.Connection conn,
org.apache.hadoop.hbase.TableName tn) |
void |
removeAllQuotas() |
static void |
setUp() |
static void |
tearDown() |
void |
testNamespacesInheritSnapshotSize() |
void |
testRematerializedTablesDoNoInheritSpace() |
void |
testTablesInheritSnapshotSize() |
void |
testTablesWithSnapshots() |
(package private) void |
waitForStableQuotaSize(org.apache.hadoop.hbase.client.Connection conn,
org.apache.hadoop.hbase.TableName tn,
String ns) |
(package private) void |
waitForStableRegionSizeReport(org.apache.hadoop.hbase.client.Connection conn,
org.apache.hadoop.hbase.TableName tn) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final AtomicLong COUNTER
private static final long FUDGE_FOR_TABLE_SIZE
public org.junit.rules.TestName testName
private SpaceQuotaHelperForTests helper
private org.apache.hadoop.hbase.client.Connection conn
private org.apache.hadoop.hbase.client.Admin admin
public TestSpaceQuotasWithSnapshots()
public void removeAllQuotas() throws Exception
Exceptionpublic void testTablesInheritSnapshotSize() throws Exception
Exceptionpublic void testNamespacesInheritSnapshotSize() throws Exception
Exceptionpublic void testTablesWithSnapshots() throws Exception
Exceptionpublic void testRematerializedTablesDoNoInheritSpace() throws Exception
Exceptionvoid waitForStableQuotaSize(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn, String ns) throws Exception
Exceptionlong getRegionSizeReportForTable(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn) throws IOException
IOExceptionvoid waitForStableRegionSizeReport(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.