public class TestDefaultQuota extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static byte[] |
QUALIFIER |
private static int |
REFRESH_TIME |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestDefaultQuota() |
Modifier and Type | Method and Description |
---|---|
private void |
configureLenientThrottle() |
private org.apache.hadoop.hbase.client.Table |
getTable() |
private static String |
getUserName() |
private void |
refreshQuotas() |
private long |
runGetsTest(int attempts) |
static void |
setUpBeforeClass() |
void |
tearDown() |
void |
testDefaultUserReadNum() |
private void |
unsetQuota() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil TEST_UTIL
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final int REFRESH_TIME
private static final byte[] FAMILY
private static final byte[] QUALIFIER
public TestDefaultQuota()
public static void setUpBeforeClass() throws Exception
Exception
public void testDefaultUserReadNum() throws Exception
Exception
private void configureLenientThrottle() throws IOException
IOException
private static String getUserName() throws IOException
IOException
private void refreshQuotas() throws Exception
Exception
private void unsetQuota() throws Exception
Exception
private long runGetsTest(int attempts) throws Exception
Exception
private org.apache.hadoop.hbase.client.Table getTable() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.