hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11777) Find a way to use KV.setSequenceId() on Cells on the server-side read path
Date Wed, 20 Aug 2014 11:31:26 GMT

     [ 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)

Mime
View raw message