You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2012/06/27 18:58:44 UTC
[jira] [Commented] (HADOOP-8059) Add javadoc to InterfaceAudience
and InterfaceStability
[ https://issues.apache.org/jira/browse/HADOOP-8059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402358#comment-13402358 ]
Suresh Srinivas commented on HADOOP-8059:
-----------------------------------------
Brandon, I as thinking of capturing information along following lines:
We should add some of the following comments:
# InterfaceAudience
#* All public classes must have InterfaceAudience annotation. Public classes that are not marked with this annotation must be considered by default as InterfaceAudience#Private.
#* External applications must only use classes that are marked InterfaceAudience#Public. Avoid using non public classes as these classes could be removed or change in incompatible ways.
#* Internal projects must only use classes that are marked InterfaceAudience#LimitedPrivate or InterfaceAudience#Public.
#* Methods may have a different annotation that it is more restrictive compared to the audience classification of the class. Example: A class might be InterfaceAudience#Publice, but a method may be InterfaceAudience#LimtedPrivate
# Interface stability
#* All classes that are annotated with InterfaceAudience#Public or LimitedPrivate must have InterfaceStability annotation.
#* Classes that are InterfaceAudience#Private are to be considered unstable unless a different InterfaceStability annotation states otherwise.
#* Incompatible changes must not be made to classes marked as stable.
> Add javadoc to InterfaceAudience and InterfaceStability
> -------------------------------------------------------
>
> Key: HADOOP-8059
> URL: https://issues.apache.org/jira/browse/HADOOP-8059
> Project: Hadoop Common
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 0.24.0
> Reporter: Suresh Srinivas
> Assignee: Brandon Li
> Attachments: HADOOP-8059.patch
>
>
> InterfaceAudience and InterfaceStability javadoc is incomplete. The details from HADOOP-5073.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira