public class TestMasterQuotasObserver extends Object
MasterQuotasObserver
.Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static SpaceQuotaHelperForTests |
helper |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
TestMasterQuotasObserver() |
Modifier and Type | Method and Description |
---|---|
private void |
createTable(org.apache.hadoop.hbase.client.Admin admin,
org.apache.hadoop.hbase.TableName tn) |
private void |
dropTable(org.apache.hadoop.hbase.client.Admin admin,
org.apache.hadoop.hbase.TableName tn) |
int |
getNumSpaceQuotas() |
int |
getThrottleQuotas() |
boolean |
namespaceExists(String ns) |
void |
removeAllQuotas() |
static void |
setUp() |
static void |
tearDown() |
void |
testNamespaceRPCQuotaRemoved() |
void |
testNamespaceSpaceAndRPCQuotaRemoved() |
void |
testNamespaceSpaceQuotaRemoved() |
void |
testObserverAddedByDefault() |
void |
testTableRPCQuotaRemoved() |
void |
testTableSpaceAndRPCQuotaRemoved() |
void |
testTableSpaceQuotaRemoved() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static SpaceQuotaHelperForTests helper
public org.junit.rules.TestName testName
public TestMasterQuotasObserver()
public void removeAllQuotas() throws Exception
Exception
public void testTableSpaceQuotaRemoved() throws Exception
Exception
public void testTableRPCQuotaRemoved() throws Exception
Exception
public void testTableSpaceAndRPCQuotaRemoved() throws Exception
Exception
public void testNamespaceSpaceQuotaRemoved() throws Exception
Exception
public void testNamespaceRPCQuotaRemoved() throws Exception
Exception
public void testNamespaceSpaceAndRPCQuotaRemoved() throws Exception
Exception
public void testObserverAddedByDefault() throws Exception
Exception
public boolean namespaceExists(String ns) throws IOException
IOException
public int getNumSpaceQuotas() throws Exception
Exception
public int getThrottleQuotas() throws Exception
Exception
private void createTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tn) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.