[
https://issues.apache.org/jira/browse/HBASE-11777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114341#comment-14114341
]
stack commented on HBASE-11777:
-------------------------------
It is amost as though setSequenceId shoudl be called stampSequenceId (smle).
setSequenceId is better.
How about SettableSequenceNumber?
Or going back to Cell, it seems like SequenceNumber should be SequenceId else
we have two names for same thing?
Suggest we change SequenceNumber Interface to SequenceId. Also change its
method to be getSequenceId to match Cell.
Add new SettableSequenceId Interface?
Otherwise patch looks good.
THats good going to CellUtil to do it.
> 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
> Fix For: 0.99.0, 2.0.0
>
> Attachments: CellWithSequenceNumber.java, HBASE-11777.patch
>
>
> 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)