hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10383) InterfaceStability annotations should have RetentionPolicy.RUNTIME
Date Wed, 05 Mar 2014 21:38:43 GMT

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

Enis Soztutar commented on HADOOP-10383:

I tried to list give some justification in HBASE-10374. Mainly, this is relevant in a unit
test context, where we are doing a "check all public classes have InterfaceAnnotation in client
modules as a unit test". The other use case is similar in that there will be a unit test which
checks whether the annotated public API's have changed from the previous release version.

I have not tried the tools API, but using the reflection API is the standard way of accessing
the annotations. What is the downside of having Runtime retention? 

> InterfaceStability annotations should have RetentionPolicy.RUNTIME
> ------------------------------------------------------------------
>                 Key: HADOOP-10383
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10383
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 3.0.0, 2.4.0
>         Attachments: hadoop-10383_v1.patch
> Same as in HADOOP-10374. Forgot to make the change there. 

This message was sent by Atlassian JIRA

View raw message