Class TestScanWithoutFetchingData

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

public class TestScanWithoutFetchingData extends Object
Testcase to make sure that we do not close scanners if ScanRequest.numberOfRows is zero. See HBASE-18042 for more details.
  • Field Details

    • CLASS_RULE

      public static final HBaseClassTestRule CLASS_RULE
    • UTIL

      private static final HBaseTestingUtility 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.HRegionInfo HRI
    • STUB

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

  • Method Details

    • setUp

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

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

      private void assertResult(int row, org.apache.hadoop.hbase.client.Result result)
    • test

      public void test() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException
      Throws:
      org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
      IOException