public class TestQuotaObserverChoreRegionReports extends Object
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.slf4j.Logger | 
LOG  | 
private static HBaseTestingUtility | 
TEST_UTIL  | 
org.junit.rules.TestName | 
testName  | 
| Constructor and Description | 
|---|
TestQuotaObserverChoreRegionReports()  | 
| Modifier and Type | Method and Description | 
|---|---|
private int | 
getRegionReportsForTable(Map<org.apache.hadoop.hbase.client.RegionInfo,Long> reports,
                        org.apache.hadoop.hbase.TableName tn)  | 
private org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot | 
getSnapshotForTable(org.apache.hadoop.hbase.client.Connection conn,
                   org.apache.hadoop.hbase.TableName tn)  | 
void | 
setUp()  | 
void | 
tearDown()  | 
void | 
testMissingReportsRemovesQuota()  | 
void | 
testReportExpiration()  | 
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.TestName testName
public TestQuotaObserverChoreRegionReports()
public void testReportExpiration() throws Exception
Exceptionpublic void testMissingReportsRemovesQuota() throws Exception
Exceptionprivate org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot getSnapshotForTable(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.TableName tn) throws IOException
IOExceptionprivate int getRegionReportsForTable(Map<org.apache.hadoop.hbase.client.RegionInfo,Long> reports, org.apache.hadoop.hbase.TableName tn)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.