Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12237

HBaseZeroCopyByteString#wrap() should not be called in hbase-client code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.98.8, 0.99.2
    • None
    • None
    • Reviewed

    Description

      In RegionServerCoprocessorRpcChannel#callExecService(), there is following code:

          final ClientProtos.CoprocessorServiceCall call =
              ClientProtos.CoprocessorServiceCall.newBuilder()
                  .setRow(HBaseZeroCopyByteString.wrap(HConstants.EMPTY_BYTE_ARRAY))
      

      Calling HBaseZeroCopyByteString#wrap() in hbase-client module causes regression w.r.t. HBASE-11118

      Consequence of this is that users of cascading app, such as Lingual, would not be able to access HBase.

      Attachments

        1. 12237-v1.txt
          2 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: