public class TestQuotaStatusRPCs extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static AtomicLong |
COUNTER |
private SpaceQuotaHelperForTests |
helper |
private static org.slf4j.Logger |
LOG |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
| Constructor and Description |
|---|
TestQuotaStatusRPCs() |
| Modifier and Type | Method and Description |
|---|---|
private int |
countRegionsForTable(org.apache.hadoop.hbase.TableName tn,
Map<org.apache.hadoop.hbase.client.RegionInfo,Long> regionSizes) |
private int |
getTableSize(org.apache.hadoop.hbase.TableName tn,
Map<org.apache.hadoop.hbase.client.RegionInfo,Long> regionSizes) |
static void |
setUp() |
void |
setupForTest() |
static void |
tearDown() |
void |
testQuotaEnforcementsFromRS() |
void |
testQuotaSnapshotsFromRS() |
void |
testQuotaStatusFromMaster() |
void |
testRegionSizesFromMaster() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final AtomicLong COUNTER
public org.junit.rules.TestName testName
private SpaceQuotaHelperForTests helper
public TestQuotaStatusRPCs()
public void setupForTest() throws Exception
Exceptionpublic void testRegionSizesFromMaster() throws Exception
Exceptionpublic void testQuotaSnapshotsFromRS() throws Exception
Exceptionpublic void testQuotaEnforcementsFromRS() throws Exception
Exceptionpublic void testQuotaStatusFromMaster() throws Exception
Exceptionprivate int countRegionsForTable(org.apache.hadoop.hbase.TableName tn, Map<org.apache.hadoop.hbase.client.RegionInfo,Long> regionSizes)
private int getTableSize(org.apache.hadoop.hbase.TableName tn, Map<org.apache.hadoop.hbase.client.RegionInfo,Long> regionSizes)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.