Package org.apache.hadoop.hbase.quotas
Class TestDefaultAtomicQuota
java.lang.Object
org.apache.hadoop.hbase.quotas.TestDefaultAtomicQuota
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final byte[]
private static final int
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
configureLenientThrottle
(org.apache.hadoop.hbase.quotas.ThrottleType throttleType) private org.apache.hadoop.hbase.client.Table
getTable()
private static String
private void
private long
runIncTest
(int attempts) static void
static void
tearDown()
void
void
private void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
TABLE_NAME
-
REFRESH_TIME
- See Also:
-
FAMILY
-
QUALIFIER
-
-
Constructor Details
-
TestDefaultAtomicQuota
public TestDefaultAtomicQuota()
-
-
Method Details
-
tearDown
- Throws:
Exception
-
setUpBeforeClass
- Throws:
Exception
-
testDefaultAtomicReadLimits
- Throws:
Exception
-
testDefaultAtomicWriteLimits
- Throws:
Exception
-
configureLenientThrottle
private void configureLenientThrottle(org.apache.hadoop.hbase.quotas.ThrottleType throttleType) throws IOException - Throws:
IOException
-
getUserName
- Throws:
IOException
-
refreshQuotas
- Throws:
Exception
-
unsetQuota
- Throws:
Exception
-
runIncTest
- Throws:
Exception
-
getTable
- Throws:
IOException
-