hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17743) Add InterfaceAudience and InterfaceStability annotations for Thrift generated APIs
Date Mon, 09 Oct 2017 17:09:00 GMT

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

Alan Gates commented on HIVE-17743:
-----------------------------------

Rather than move the Hive InterfaceAudience and InterfaceStability annotations to a new directory
I've been using the Hadoop InterfaceAudience and InterfaceStability annotations.  I think
this makes more sense, especially if the we do eventually split the metastore into its own
project.  If we move the Hive annotations to a classifications directory we have one more
project to release as a shared thing (or make part of storage-api), which I want to avoid.

> Add InterfaceAudience and InterfaceStability annotations for Thrift generated APIs
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-17743
>                 URL: https://issues.apache.org/jira/browse/HIVE-17743
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Thrift API
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>         Attachments: HIVE-17743.1.patch
>
>
> The Thrift generated files don't have {{InterfaceAudience}} or {{InterfaceStability}}
annotations on them, mainly because all the files are auto-generated.
> We should add some code that auto-tags all the Java Thrift generated files with these
annotations. This way even when they are re-generated, they still contain the annotations.
> We should be able to do this using the {{com.google.code.maven-replacer-plugin}} similar
to what we do in {{standalone-metastore/pom.xml}}.



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

Mime
View raw message