public class TestShortCircuitGet extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestShortCircuitGet.MyRegionServer |
private static class |
TestShortCircuitGet.MyRSRpcServices |
static class |
TestShortCircuitGet.MyScanObserver |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
org.junit.rules.TestName |
name |
private static byte[] |
QUALIFIER |
(package private) static byte[] |
r0 |
(package private) static byte[] |
r1 |
(package private) static byte[] |
r2 |
(package private) static byte[] |
r3 |
(package private) static byte[] |
r4 |
(package private) static byte[] |
r5 |
(package private) static byte[] |
r6 |
(package private) static org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestShortCircuitGet() |
Modifier and Type | Method and Description |
---|---|
private void |
putToTable(org.apache.hadoop.hbase.client.Table ht,
byte[] rowkey) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testScannerCloseWhenScanAndGetInCP()
This test is for HBASE-26821,when we initiate get or scan in cp, the
RegionScanner for
get and scan is close when get or scan is completed. |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] FAMILY
private static final byte[] QUALIFIER
private static final byte[] VALUE
static final byte[] r0
static final byte[] r1
static final byte[] r2
static final byte[] r3
static final byte[] r4
static final byte[] r5
static final byte[] r6
static final org.apache.hadoop.hbase.TableName tableName
public org.junit.rules.TestName name
public TestShortCircuitGet()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testScannerCloseWhenScanAndGetInCP() throws Exception
RegionScanner
for
get and scan is close when get or scan is completed.Exception
private void putToTable(org.apache.hadoop.hbase.client.Table ht, byte[] rowkey) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.