hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10374) InterfaceAudience annotations should have RetentionPolicy.RUNTIME
Date Thu, 27 Feb 2014 22:57:19 GMT

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

Arpit Agarwal commented on HADOOP-10374:
----------------------------------------

+1 for the patch, I will commit it shortly.

> InterfaceAudience annotations should have RetentionPolicy.RUNTIME
> -----------------------------------------------------------------
>
>                 Key: HADOOP-10374
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10374
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: hadoop-10374_v1.patch
>
>
> There are valid use cases for accessing the InterfaceAudience annotations programatically.

> In HBase, we are writing a unit test to check whether every class in the client packages
are annotated with one of the annotations. Plus, we are also thinking about a golden file
to containing all public method sigs, so that we can ensure public facing API-compatibility
from a unit test. 
> Related: HBASE-8546, HBASE-10462, HBASE-8275



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message