You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/12/21 01:59:00 UTC

[jira] [Commented] (HBASE-19092) Make Tag IA.LimitedPrivate and expose for CPs

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

Michael Stack commented on HBASE-19092:
---------------------------------------

I was just looking at cleaning up our tall Cell hierarchy and arrived at the RawCell Interface. I eventually arrived here where it was added. All Cell implementations have this Type in their hierarchy. It has a very exotic purpose; it is for Coprocessors that want to write Cells with tags, only. This is a strange brew. Tags are server-side only as are Coprocessors. But Tags are internals yet here we expose them to CPs. Apart from the fact that RawCells is an odd name for an Interface  that is server-side only, for CPs only, and that only has methods related to Tags, I think this Interface rare if ever used. I see the yarn history server needed access so made sense at the time. We don't want to move tags into general Cell interface because we want Tags server-side only.  We have ExtendedCell which extends RawCell and it is for server-side only but we don't want to expose its methods to CPs..... We are in a bit of a bind here. Meantime every Cell implementation carries this Interface... 

> Make Tag IA.LimitedPrivate and expose for CPs
> ---------------------------------------------
>
>                 Key: HBASE-19092
>                 URL: https://issues.apache.org/jira/browse/HBASE-19092
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Critical
>             Fix For: 2.0.0-beta-1, 2.0.0
>
>         Attachments: HBASE-19092-branch-2.patch, HBASE-19092-branch-2_5.patch, HBASE-19092-branch-2_5.patch, HBASE-19092.branch-2.0.02.patch, HBASE-19092_001-branch-2.patch, HBASE-19092_001.patch, HBASE-19092_002-branch-2.patch, HBASE-19092_002.patch, HBASE-19092_004.patch, HBASE-19092_005.patch, HBASE-19092_005_branch_2.patch, HBASE-19092_3.patch, HBASE-19092_4.patch
>
>
> We need to make tags as LimitedPrivate as some use cases are trying to use tags like timeline server. The same topic was discussed in dev@ and also in HBASE-18995.
> Shall we target this for beta1 - cc [~saint.ack@gmail.com].
> So once we do this all related Util methods and APIs should also move to LimitedPrivate Util classes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)