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

Sergio Peña commented on HIVE-17129:
------------------------------------

{{MetaStoreEventListener}} is used by other components, so this must be public. 
Regarding {{ListenerEvent}}, I don't know. It is not used directly, but is used 
by inherited objects that {{MetaStoreEventListener}} uses, such as 
{{CreateTableEvent}}.

How does this work? If you mark {{ListenerEvent}} as private, then can users 
use {{CreateTableEvent}} for instance?

> Increase usage of InterfaceAudience and InterfaceStability annotations 
> -----------------------------------------------------------------------
>
>                 Key: HIVE-17129
>                 URL: https://issues.apache.org/jira/browse/HIVE-17129
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>
> The {{InterfaceAudience}} and {{InterfaceStability}} annotations were added a 
> while ago to mark certain classes as available for public use. However, they 
> were only added to a few classes. The annotations are largely missing for 
> major APIs such as the SerDe and UDF APIs. We should update these interfaces 
> to use these annotations.
> When done in conjunction with HIVE-17130, we should have an automated way to 
> prevent backwards incompatible changes to Hive APIs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to