[ 
https://issues.apache.org/jira/browse/HADOOP-7035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom White updated HADOOP-7035:
------------------------------

    Attachment: apicheck-hadoop-0.21.0-0.22.0-SNAPSHOT.txt
                apicheck-hadoop-0.20.203.0-0.20.204.0.txt

I had a look at more compatibility testing tools, and found SigTest 
(http://sigtest.java.net/), which is used by OpenJDK and NetBeans to check for 
incompatible changes. It is very comprehensive and can check binary and source 
compatibility.

I've written some scripts that allow two Hadoop tarballs to be compared for 
incompatible API changes. The scripts are at 
https://github.com/tomwhite/hadoop-compatibility-tools.

I've attached a couple of generated reports for the differences between 
0.20.203 and 0.20.204, and between 0.21.0 and 0.22.0 (an old snapshot). It 
would be good to generate the difference with 0.23.0 too, but that requires 
HADOOP-7642. The reports can help highlight unwanted compatibilities and give 
us a chance to fix them before release.

It would be nice to add such checks to patch testing so that incompatible 
changes are flagged, but this can be tackled separately.




                
> Document incompatible API changes between releases
> --------------------------------------------------
>
>                 Key: HADOOP-7035
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7035
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Tom White
>            Assignee: Tom White
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: apicheck-hadoop-0.20.203.0-0.20.204.0.txt, 
> apicheck-hadoop-0.21.0-0.22.0-SNAPSHOT.txt, jdiff-with-previous-release.sh, 
> jdiff-with-previous-release.sh
>
>
> We can use JDiff to generate a list of incompatible changes for each release. 
> See 
> https://issues.apache.org/jira/browse/HADOOP-6668?focusedCommentId=12860017&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12860017

--
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

        

Reply via email to