hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19550) Wrap the Mutation in cp layer to make sure all passed cells are of ExtendedCell
Date Sat, 23 Dec 2017 12:33:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302392#comment-16302392
] 

Chia-Ping Tsai commented on HBASE-19550:
----------------------------------------

Perhaps it would be better to wrap all cells in mutation to be of ExtendedCell since wrapping
the mutation in cp layer is ugly and may get cryptic in the future. Also, cp user are allowed
to add their mutation via {{MiniBatchOperationInProgress}] so wrapping only our mutation passed
to cp user is not a total solution.


> Wrap the Mutation in cp layer to make sure all passed cells are 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
>
>
> 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)

Mime
View raw message