You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/08/18 13:12:00 UTC

[jira] [Commented] (HBASE-22874) Canary should not be IA.Public

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

Duo Zhang commented on HBASE-22874:
-----------------------------------

Ping [~apurtell] and [~xucang]. Please describe your usage exactly and let's see how to solve it without marking Canary as IA.Public?

You can see an example, BulkLoadHFiles and BulkLoadHFilesTool, where BulkLoadHFiles is IA.Public while BulkLoadHFilesTool is IA.LimitedPrivate("TOOLS"). And BulkLoadHFiles.create will just returns a BulkLoadHFilesTool, although the return type is BulkLoadHFiles.

I think we can use the same way here. Marking an implementation class as IA.Public is really really a pain, trust me...

> Canary should not be IA.Public
> ------------------------------
>
>                 Key: HBASE-22874
>                 URL: https://issues.apache.org/jira/browse/HBASE-22874
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Duo Zhang
>            Priority: Blocker
>
> It can be marked as IA.LimitedPrivate(TOOLS).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)