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 "Sean Busbey (JIRA)" <ji...@apache.org> on 2015/06/28 07:16:04 UTC

[jira] [Commented] (HADOOP-12141) test-patch should check for API breakage without version # change

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

Sean Busbey commented on HADOOP-12141:
--------------------------------------

some things to consider:

* needs to be optional, at least if using JACC because JACC is GPL
* need a way to determine "previous version" compared to the current version present in the project
* projects need a way to define what is and is not API.

On that last bit, JACC can take a package white/black list and as of lately can use class annotations. We could default to everything, but that's sloppy.

Might be worth pulling the InterfaceAudience / InterfaceStability annotations and related doclet handling in and then point to that as a tool if folks don't already have something?

> test-patch should check for API breakage without version # change
> -----------------------------------------------------------------
>
>                 Key: HADOOP-12141
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12141
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>    Affects Versions: HADOOP-12111
>            Reporter: Sean Busbey
>
> HBase has some automated tooling for checking for API breakage with the Java API Compliance Checker tool. It'd be nice ot have it as a pre-commit plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)