Class TestAlwaysSetScannerId

java.lang.Object
org.apache.hadoop.hbase.client.TestAlwaysSetScannerId

public class TestAlwaysSetScannerId extends Object
Testcase to make sure that we always set scanner id in ScanResponse. See HBASE-18000.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final byte[]
     
    static final HBaseClassTestRule
     
    private static org.apache.hadoop.hbase.client.AsyncConnectionImpl
     
    private static final int
     
    private static final byte[]
     
    private static org.apache.hadoop.hbase.client.RegionInfo
     
    private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface
     
    private static final org.apache.hadoop.hbase.TableName
     
    private static final HBaseTestingUtil
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanResponse
    scan(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest req)
     
    static void
     
    static void
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CLASS_RULE

      public static final HBaseClassTestRule CLASS_RULE
    • UTIL

      private static final HBaseTestingUtil UTIL
    • TABLE_NAME

      private static final org.apache.hadoop.hbase.TableName TABLE_NAME
    • CF

      private static final byte[] CF
    • CQ

      private static final byte[] CQ
    • COUNT

      private static final int COUNT
      See Also:
    • HRI

      private static org.apache.hadoop.hbase.client.RegionInfo HRI
    • CONN

      private static org.apache.hadoop.hbase.client.AsyncConnectionImpl CONN
    • STUB

      private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface STUB
  • Constructor Details

  • Method Details

    • setUp

      public static void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public static void tearDown() throws Exception
      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.ServiceException
      IOException