[
https://issues.apache.org/jira/browse/HBASE-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226491#comment-16226491
]
Anoop Sam John commented on HBASE-19092:
----------------------------------------
bq.I think instead of LPTagUtil we could add all the static methods to Tag
interface itself.
Not sure how many such methods will come to Tag then. But seems ok
bq.One way is create TagsUtil (notice the 's'). Have an static INSTANCE and
getInstance() in that.
We have a public CellUtil and a private one now right. We need a LP CellUtil
for sure. This is to add things like matchingXXX methods for Cells. Or the LP
CellUtil is just for Tags? If not just for Tags, I dont see any issue in
adding tag's' related static methods to CellUtil.. This is about getting Tags
from a Cell.. Like the matching methods, these APIs also act on a Cell. If we
are going to have a LP CellUtil version, I would say, put the Tag's' related
methods there..
Per tag related , ya we have it in TagUtil now. If all APIs there can become
CP exposed, dont think any issue in exposing that. Adding to Tag interface
also seems ok provided it wont pollute the 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-alpha-4
>
> Attachments: HBASE-19092-branch-2.patch,
> HBASE-19092_001-branch-2.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 [[email protected]].
> 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
(v6.4.14#64029)