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
Exception
public void testRegionSizesFromMaster() throws Exception
Exception
public void testQuotaSnapshotsFromRS() throws Exception
Exception
public void testQuotaEnforcementsFromRS() throws Exception
Exception
public void testQuotaStatusFromMaster() throws Exception
Exception
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)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.