[
https://issues.apache.org/jira/browse/HBASE-16704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522528#comment-15522528
]
ramkrishna.s.vasudevan commented on HBASE-16704:
------------------------------------------------
bq.private int getKVBufSize() {
This change of not including tags if it is 0 you want to do it as part of this
JIRA only?
bq.blockBuffer.skip(getCurCellSerializedSize());
Since we skipping in the right way the above change should be fine.
The changes to CellUtil are part of this JIRA fix or just a refactor?
The fix in DBE is because we were writing the tags len even if it was 0 but in
other impl we were not doing it. +1 on that fix.
> Scan will be broken while working with DBE and KeyValueCodecWithTags
> --------------------------------------------------------------------
>
> Key: HBASE-16704
> URL: https://issues.apache.org/jira/browse/HBASE-16704
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Yu Sun
> Assignee: Anoop Sam John
> Fix For: 2.0.0
>
> Attachments: HBASE-16704.patch
>
>
> scan will always broken if we set LIMIT more than 1 with rs
> hbase.client.rpc.codec set to
> org.apache.hadoop.hbase.codec.KeyValueCodecWithTags.
> How to reproduce:
> 1. 1 master + 1 rs, codec use KeyValueCodecWithTags.
> 2. create a table table_1024B_30g,1 cf and with only 1 qualifier, then load
> some data with ycsb,. Use Diff DataBlockEncoding
> 3. scan 'table_1024B_30g', {LIMIT => 2, STARTROW => 'user5499'}, STARTROW is
> set any valid start row.
> 4. scan failed.
> this should be bug in KeyValueCodecWithTags, after some investigations, I
> found some the key not serialized correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)