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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.8, 0.99.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: