Package org.apache.hadoop.hbase
Class TestSequenceIdMonotonicallyIncreasing
java.lang.Object
org.apache.hadoop.hbase.TestSequenceIdMonotonicallyIncreasing
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestSequenceIdMonotonicallyIncreasing
extends Object
Testcase for HBASE-20066
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.client.TablecreateTable(boolean multiRegions) private longgetMaxSeqId(org.apache.hadoop.hbase.regionserver.HRegionServer rs, org.apache.hadoop.hbase.client.RegionInfo region) static voidvoidtearDown()static voidvoidvoid
-
Field Details
-
UTIL
-
NAME
-
CF
-
CQ
-
-
Constructor Details
-
TestSequenceIdMonotonicallyIncreasing
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
createTable
- Throws:
IOException
-
getMaxSeqId
private long getMaxSeqId(org.apache.hadoop.hbase.regionserver.HRegionServer rs, org.apache.hadoop.hbase.client.RegionInfo region) throws IOException - Throws:
IOException
-
testSplit
@Test public void testSplit() throws IOException, InterruptedException, ExecutionException, TimeoutException -
testMerge
@Test public void testMerge() throws IOException, InterruptedException, ExecutionException, TimeoutException
-