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
Exception
public void testTablesInheritSnapshotSize() throws Exception
Exception
public void testNamespacesInheritSnapshotSize() throws Exception
Exception
public void testTablesWithSnapshots() throws Exception
Exception
public void testRematerializedTablesDoNoInheritSpace() throws Exception
Exception
void waitForStableQuotaSize(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn, String ns) throws Exception
Exception
long getRegionSizeReportForTable(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn) throws IOException
IOException
void waitForStableRegionSizeReport(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.