You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2014/08/20 13:31:26 UTC

[jira] [Updated] (HBASE-11777) Find a way to use KV.setSequenceId() on Cells on the server-side read path

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

ramkrishna.s.vasudevan updated HBASE-11777:
-------------------------------------------

    Attachment: CellWithSequenceNumber.java

Just adding an impl of Cell but it is sort of a delegator. Now in the place where we need to set the KV.setSeqId(), we could create an object of this new Cell Impl passing the seqId that we need to set and return that new Cell.  No change in the method return types (it can still be cell).
This is applicable only on trunk and only after the change in HBASE-11591 goes in. Thoughts?

> Find a way to use KV.setSequenceId() on Cells on the server-side read path
> --------------------------------------------------------------------------
>
>                 Key: HBASE-11777
>                 URL: https://issues.apache.org/jira/browse/HBASE-11777
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.99.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: CellWithSequenceNumber.java
>
>
> Over in HBASE-11591 there was a need to set the sequenceId of the HFile to the bulk loaded KVs.  Since we are trying to use the concept of Cells in the read path if we need to use setSequenceId(), then the Cell has to be converted to KV and only KeyValue impl has the accessor setSequenceId().
> [~anoop.hbase] suggested if we can use a Server side impl of Cell and have these accessors in them.
> This JIRA aims to solve this and see the related code changes that needs to be carried out for this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)