Package org.apache.hadoop.hbase.client
Class TestAlwaysSetScannerId
java.lang.Object
org.apache.hadoop.hbase.client.TestAlwaysSetScannerId
Testcase to make sure that we always set scanner id in ScanResponse. See HBASE-18000.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]static final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.AsyncConnectionImplprivate static final intprivate static final byte[]private static org.apache.hadoop.hbase.client.RegionInfoprivate static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interfaceprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLASS_RULE
-
UTIL
-
TABLE_NAME
-
CF
-
CQ
-
COUNT
- See Also:
-
HRI
-
CONN
-
STUB
private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface STUB
-
-
Constructor Details
-
TestAlwaysSetScannerId
public TestAlwaysSetScannerId()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
scan
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanResponse scan(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest req) throws IOException - Throws:
IOException
-
test
public void test() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException- Throws:
org.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionIOException
-