Package org.apache.hadoop.hbase.quotas
Class TestSnapshotQuotaObserverChore
java.lang.Object
org.apache.hadoop.hbase.quotas.TestSnapshotQuotaObserverChore
Test class for the
SnapshotQuotaObserverChore.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate org.apache.hadoop.hbase.client.Connectionprivate static final AtomicLongprivate SpaceQuotaHelperForTestsprivate static final org.slf4j.Loggerprivate org.apache.hadoop.hbase.master.HMasterprivate static final HBaseTestingUtilprivate org.apache.hadoop.hbase.quotas.SnapshotQuotaObserverChoreorg.junit.rules.TestName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleancloseInSize(long size1, long size2, long delta) Computes ifsize2is withindeltaofsize1, inclusive.voidsetup()static voidsetUp()static voidtearDown()voidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
COUNTER
-
testName
-
conn
-
admin
-
helper
-
master
-
testChore
-
-
Constructor Details
-
TestSnapshotQuotaObserverChore
public TestSnapshotQuotaObserverChore()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setup
- Throws:
Exception
-
testSnapshotsFromTables
- Throws:
Exception
-
testSnapshotsFromNamespaces
- Throws:
Exception
-
testSnapshotSize
- Throws:
Exception
-
testPersistingSnapshotsForNamespaces
- Throws:
Exception
-
testRemovedSnapshots
- Throws:
Exception
-
testBucketingFilesToSnapshots
- Throws:
Exception
-
closeInSize
Computes ifsize2is withindeltaofsize1, inclusive.
-