hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12237) HBaseZeroCopyByteString#wrap() should not be called in hbase-client code
Date Mon, 13 Oct 2014 17:46:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-12237:
---------------------------
    Description: 
In RegionServerCoprocessorRpcChannel#callExecService(), there is following code:
{code}
    final ClientProtos.CoprocessorServiceCall call =
        ClientProtos.CoprocessorServiceCall.newBuilder()
            .setRow(HBaseZeroCopyByteString.wrap(HConstants.EMPTY_BYTE_ARRAY))
{code}
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.

  was:
In RegionServerCoprocessorRpcChannel#callExecService(), there is following code:
{code}
    final ClientProtos.CoprocessorServiceCall call =
        ClientProtos.CoprocessorServiceCall.newBuilder()
            .setRow(HBaseZeroCopyByteString.wrap(HConstants.EMPTY_BYTE_ARRAY))
{code}
Calling HBaseZeroCopyByteString#wrap() in hbase-client module causes regression w.r.t. HBASE-11118


> HBaseZeroCopyByteString#wrap() should not be called in hbase-client code
> ------------------------------------------------------------------------
>
>                 Key: HBASE-12237
>                 URL: https://issues.apache.org/jira/browse/HBASE-12237
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Critical
>             Fix For: 2.0.0, 0.98.8, 0.99.2
>
>         Attachments: 12237-v1.txt
>
>
> In RegionServerCoprocessorRpcChannel#callExecService(), there is following code:
> {code}
>     final ClientProtos.CoprocessorServiceCall call =
>         ClientProtos.CoprocessorServiceCall.newBuilder()
>             .setRow(HBaseZeroCopyByteString.wrap(HConstants.EMPTY_BYTE_ARRAY))
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message