[
https://issues.apache.org/jira/browse/HBASE-28684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-28684:
------------------------------
Release Note:
Removed CellWrapper so now you can only add Cells which are ExtendedCells to
all the data structures in HBase like Mutation, Get, etc.
Usually this will not introduce any problem because the Cells returned by
CellBuilder will be ExtendedCells. It is not recommended to have your own Cell
implementation as there are some internal status which are not exposed through
the Cell interface but we highly depend on these status inside HBase
implementation.
For coprocessor users, if you really need to have your own Cell implementation,
please implement ExtendedCell, but since it is IA.Private, take your own risk.
You can report to our mailing list about your usage and we will see how to
better support it.
> Remove CellWrapper and use ExtendedCell internally in client side data
> structure
> --------------------------------------------------------------------------------
>
> Key: HBASE-28684
> URL: https://issues.apache.org/jira/browse/HBASE-28684
> Project: HBase
> Issue Type: Sub-task
> Components: API, Client
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0-beta-2
>
>
> In general, all Cells in HBase are ExtendedCells, we introduce Cell interface
> is only for preventing user to call some methods which damage the system.
> So I think we should have internal methods which can get ExtendedCell from
> the client side data structures so we do not need to cast everywhere.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)