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
FieldsModifier and TypeFieldDescriptionprivate static final byte[]static final HBaseClassTestRuleprivate static final intprivate static final byte[]private static org.apache.hadoop.hbase.HRegionInfoprivate static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterfaceprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertResult(int row, org.apache.hadoop.hbase.client.Result result) static voidsetUp()static voidtearDown()voidtest()
-
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.ServiceExceptionIOException
-