Class TestDateTieredCompactionPolicy
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCompactionPolicy
org.apache.hadoop.hbase.regionserver.AbstractTestDateTieredCompactionPolicy
org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMajor Compaction to check min max timestamp falling in the same window and also to check boundary condition in which case binary sort gives insertion point as length of the arrayprotected voidconfig()setup config values necessary for storevoidTest for incoming windowvoidMajor compactionvoidNegative epoch timevoidMajor compaction with negative numbersvoidTest for file newer than incoming windowvoidNoT2()If there is no T1 window, we don't build T2voidNot enough files in incoming windowvoidOlder than now(161) - maxAge(100)voidTest for file on the upper bound of incoming windowvoidOut-of-order datavoidRatioT0()Apply exploring logic on non-incoming windowvoidThe next compaction call after testTieredCompactionRatioT0 is compactedvoidRatioT2()Also apply ratio-based logic on t2 windowvoidT1()Methods inherited from class org.apache.hadoop.hbase.regionserver.AbstractTestDateTieredCompactionPolicycompactEquals, compactEqualsStoragePolicy, sfCreateMethods inherited from class org.apache.hadoop.hbase.regionserver.TestCompactionPolicycompactEquals, compactEquals, compactEquals, getSizes, initialize, setUp, sfCreate, sfCreate, sfCreate, sfCreate, tearDown, toArrayList
- 
Field Details- 
CLASS_RULE
 
- 
- 
Constructor Details- 
TestDateTieredCompactionPolicypublic TestDateTieredCompactionPolicy()
 
- 
- 
Method Details- 
configDescription copied from class:TestCompactionPolicysetup config values necessary for store- Overrides:
- configin class- TestCompactionPolicy
 
- 
incomingWindowTest for incoming window- Throws:
- IOException- with error
 
- 
NotIncomingWindowNot enough files in incoming window- Throws:
- IOException- with error
 
- 
OnUpperBoundOfIncomingWindowTest for file on the upper bound of incoming window- Throws:
- IOException- with error
 
- 
NewerThanIncomingWindowTest for file newer than incoming window- Throws:
- IOException- with error
 
- 
NoT2If there is no T1 window, we don't build T2- Throws:
- IOException- with error
 
- 
T1- Throws:
- IOException
 
- 
RatioT0Apply exploring logic on non-incoming window- Throws:
- IOException- with error
 
- 
RatioT2Also apply ratio-based logic on t2 window- Throws:
- IOException- with error
 
- 
RatioT0NextThe next compaction call after testTieredCompactionRatioT0 is compacted- Throws:
- IOException- with error
 
- 
olderThanMaxAgeOlder than now(161) - maxAge(100)- Throws:
- IOException- with error
 
- 
outOfOrderOut-of-order data- Throws:
- IOException- with error
 
- 
negativeEpochtimeNegative epoch time- Throws:
- IOException- with error
 
- 
majorCompationMajor compaction- Throws:
- IOException- with error
 
- 
checkMinMaxTimestampSameBoundaryMajor Compaction to check min max timestamp falling in the same window and also to check boundary condition in which case binary sort gives insertion point as length of the array- Throws:
- IOException
 
- 
negativeForMajorMajor compaction with negative numbers- Throws:
- IOException- with error
 
 
-