[
https://issues.apache.org/jira/browse/HBASE-19550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16303664#comment-16303664
]
ramkrishna.s.vasudevan commented on HBASE-19550:
------------------------------------------------
I am currently working on removing the code duplicate as that is a concern
here. Will attach a patch shortly.
> Wrap the cell passed via Mutation#add(Cell) to be of ExtendedCell
> -----------------------------------------------------------------
>
> Key: HBASE-19550
> URL: https://issues.apache.org/jira/browse/HBASE-19550
> Project: HBase
> Issue Type: Task
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-19550.v0.patch, HBASE-19550.v1.patch
>
>
> We assume all cells in server are of ExtendedCell. However, cp user can add
> their cell impl via Put#add(Cell) in observer. That will cause
> UnsupportedOperationException when rs try to update the cell's timestamp and
> seq Id. We should do something for cp user...For example, wrap the passed
> cells to be a extendcell type.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)