Package org.apache.hadoop.hbase.client
Class TestScanWithoutFetchingData
java.lang.Object
org.apache.hadoop.hbase.client.TestScanWithoutFetchingData
Testcase to make sure that we do not close scanners if ScanRequest.numberOfRows is zero. See
HBASE-18042 for more details.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
static final HBaseClassTestRule
private static final int
private static final byte[]
private static org.apache.hadoop.hbase.HRegionInfo
private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertResult
(int row, org.apache.hadoop.hbase.client.Result result) static void
setUp()
static void
tearDown()
void
test()
-
Field Details
-
CLASS_RULE
-
UTIL
-
TABLE_NAME
-
CF
-
CQ
-
COUNT
- See Also:
-
HRI
-
STUB
private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface STUB
-
-
Constructor Details
-
TestScanWithoutFetchingData
public TestScanWithoutFetchingData()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
assertResult
-
test
public void test() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException- Throws:
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
-