public class TestMasterQuotasObserver extends Object
MasterQuotasObserver.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
testName |
| Constructor and Description |
|---|
TestMasterQuotasObserver() |
| Modifier and Type | Method and Description |
|---|---|
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
public org.junit.rules.TestName testName
public TestMasterQuotasObserver()
public void removeAllQuotas() throws Exception
Exceptionpublic void testTableSpaceQuotaRemoved() throws Exception
Exceptionpublic void testTableRPCQuotaRemoved() throws Exception
Exceptionpublic void testTableSpaceAndRPCQuotaRemoved() throws Exception
Exceptionpublic void testNamespaceSpaceQuotaRemoved() throws Exception
Exceptionpublic void testNamespaceRPCQuotaRemoved() throws Exception
Exceptionpublic void testNamespaceSpaceAndRPCQuotaRemoved() throws Exception
Exceptionpublic void testObserverAddedByDefault() throws Exception
Exceptionpublic boolean namespaceExists(String ns) throws IOException
IOExceptionpublic int getNumSpaceQuotas() throws Exception
Exceptionpublic int getThrottleQuotas() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.