hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18126) Increment class
Date Fri, 02 Jun 2017 18:21:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035180#comment-16035180

Enis Soztutar commented on HBASE-18126:

bq. This is the interesting part: though DebugString() says 1 associated cell, I get failed
check if I try to access cell 0 
In HBase RPC, cells can be carried over the wire without the PB encoding as the RPC payload.
Cells written this way will not be in the Result objects PB data structure. Rather, there
will be the counter {{associated_cell_count}} which shows how many cells to read from the
wire after the RPC response. The CellCodecs (specifically KeyValueCodec) are used to read
these cells which is carried via Response::cell_scanner. 

If you are using {{ResponseConverter::ToResult}} the cell-scanner should automatically be
used without having to do anything. Are you using this API or something else? 

> Increment class
> ---------------
>                 Key: HBASE-18126
>                 URL: https://issues.apache.org/jira/browse/HBASE-18126
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 18126.v6.txt, 18126.v7.txt
> These Increment objects are used by the Table implementation to perform increment operation.

This message was sent by Atlassian JIRA

View raw message